Static method
MapUtils.getWorldCoordinates is static.
You can call it without actually instantiating the MapUtils class.
MapUtils.getWorldCoordinates(latLng:google.maps.LatLng)
Returns a google.maps.Point which represents the world coordinates corresponding to the given latitude & longitude.
function onYoumapsApiLoaded(){
console.log("YoumapsAPI loaded!");
var worldCoordinates = MapUtils.getWorldCoordinates(new google.maps.LatLng(48.858386, 2.343435));
}
var mapOptions = {
center : new google.maps.LatLng(48.858386, 2.343435), // Paris,
zoom : 11,
minZoom : 6,
maxZoom : 17,
styles : mapStyles
};
var youmapsApi = new YoumapsAPI(
{
techID : <YOUR_TECH_ID>,
initMapboards : false,
mapDivId : <YOUR_GOOGLE_MAP_DIV_ID>,
mapOptions : mapOptions
},
onYoumapsApiLoaded
);
