Quantcast
Viewing all articles
Browse latest Browse all 20145

Views 1.5: js call google map

I've tried to create a view with a Google map in it but I fail, the map never shows, I must be overlooking something.

If you have:
- div id="js-main-map-canvas"
- #js-main-map-canvas { width:500px; height:500px;}
- $("#js-main-map-canvas").wpvmap({
generalMapZoom: 5, //reduce default zoom level
centerLat : 51.481383, //Change the default map center
centerLon : -0.120850
});

Then some map should become visible in the post, not?


Viewing all articles
Browse latest Browse all 20145

Trending Articles