You commented out map coordinates. It has to be done like this:
latitude: 39.804729, // map center latitude
longitude: -74.953367, //map center longitude
// address:'paris',
scrollwheel: false,
markers: [
{
//position of marker (lat and long or address)
latitude: 39.8041437, //marker position latitude
longitude: -74.953451, //marker position longitude
//address: '228 West White Horse Pike, Berlin New Jersey 08009',
So you can use either latitude/longitude, or address, in this case i have used coordinates, so address is commented out for both map center or marker. And then you position marker where you need and map center slightly changed (at 6th or 7th decimal place)
-
This reply was modified 10 years, 1 month ago by ab-themes.