Title: whenmapsattack's Replies | WordPress.org

---

# whenmapsattack

  [  ](https://wordpress.org/support/users/whenmapsattack/)

 *   [Profile](https://wordpress.org/support/users/whenmapsattack/)
 *   [Topics Started](https://wordpress.org/support/users/whenmapsattack/topics/)
 *   [Replies Created](https://wordpress.org/support/users/whenmapsattack/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/whenmapsattack/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/whenmapsattack/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/whenmapsattack/engagements/)
 *   [Favorites](https://wordpress.org/support/users/whenmapsattack/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] limiting panning extents](https://wordpress.org/support/topic/limiting-panning-extents/)
 *  Thread Starter [whenmapsattack](https://wordpress.org/support/users/whenmapsattack/)
 * (@whenmapsattack)
 * [12 years ago](https://wordpress.org/support/topic/limiting-panning-extents/#post-4736307)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] limiting panning extents](https://wordpress.org/support/topic/limiting-panning-extents/)
 *  Thread Starter [whenmapsattack](https://wordpress.org/support/users/whenmapsattack/)
 * (@whenmapsattack)
 * [12 years ago](https://wordpress.org/support/topic/limiting-panning-extents/#post-4736305)
 * It is here.
    [http://www.bodielohnes.com/](http://www.bodielohnes.com/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] limiting panning extents](https://wordpress.org/support/topic/limiting-panning-extents/)
 *  Thread Starter [whenmapsattack](https://wordpress.org/support/users/whenmapsattack/)
 * (@whenmapsattack)
 * [12 years ago](https://wordpress.org/support/topic/limiting-panning-extents/#post-4736303)
 * 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,
    Tim
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] limiting panning extents](https://wordpress.org/support/topic/limiting-panning-extents/)
 *  Thread Starter [whenmapsattack](https://wordpress.org/support/users/whenmapsattack/)
 * (@whenmapsattack)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/limiting-panning-extents/#post-4736104)
 * Thanks 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] Search form and geolocation](https://wordpress.org/support/topic/search-form-and-geolocation/)
 *  [whenmapsattack](https://wordpress.org/support/users/whenmapsattack/)
 * (@whenmapsattack)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/search-form-and-geolocation/#post-3283101)
 * I’m checking into your plugin now and am also wondering about the status of geolocation.
   Everything else looks really great so far.

Viewing 5 replies - 1 through 5 (of 5 total)