whenmapsattack
Forum Replies Created
-
Perfect, that did it.
Thanks a bunch. I got my clients to get the Pro version for the custom logo and to keep up to date. I just wanted to do a little testing before I start adding javascript to their site.It is here.
http://www.bodielohnes.com/Hi Robert or anyone else with great knowledge,
I can’t seem to grasp how to affect the map.
I figured out how to make javascript work. I got an alert to come up by pasting this in the footer
<script type=”text/javascript”>
alert(“hello world.”);
</script>But I can’t seem to grab the map. Based on the explanation on mapsmarker.com, I was assuming since my layer is ID=2, that I would just change markermap_4.setZoom(21); to layermap_2.setZoom(21); I have tried every possible instance or variation (layer2.setZoom, layermap-2, layer_2, etc), but I can’t affect the map at all.
Eventually I want to restrict panning to a set of boundaries which I should be able to figure out once I know how to control the map with javascript.
Thanks,
TimThanks for the info Robert.
Great work.I don’t understand how to use javascript within a wordpress environment yet, but will take a look when you release it.
I’m checking into your plugin now and am also wondering about the status of geolocation. Everything else looks really great so far.