From OpenStreetMap Wiki
Jump to: navigation, search

In order to load librarys in wordpress you have to use the function

wp_enqueue_script('OpenStreetMap',plugins_url('javascript/OpenStreetMap.js',dirname(__FILE__))) ;

This function load only one time the Openstreetmap.js even if it's needed by several plugins.

jquery is integrated to wordpress, openstreetmap no.

Developpers need a coordination to validate the official name of openstreetmap.

Actually there is a lot of denominations in the plugins like

wp_enqueue_script('OsnScript',Osm_OSM_LibraryLocation); in OSM from

Tounoki 12:41, 14 January 2013 (UTC)