Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49224

Open Layers - Zoom and center to specific place on Map

$
0
0

Hello,

I am using Openlayers and I have created a map via a view with all my points. I want to create a link to a specific node on hte map and have it automatically zoom and center to that link. I have looked briefly at geo_taxonomy, but it looks liike a lot of work to add every node so I can zoom to it.

I was hoping there was a parameter I could pass intop the view, like this:

mysite.com/openLayersMap?zoomLevel=5&node_id=32322

this would then zoom to thae location of that node at the location with the given zoomLevel.

basically I just need to be able to zoom and cetner to a specific location on the map and the key is dynamically, without havinng to set up geo_taxonomy for each node.

Any help is much appreciated.

AttachmentSize
Drupal-map.png222.38 KB
DrupalZoomToLAyer.png9.68 KB
viewsTermID.png83.62 KB

Viewing all articles
Browse latest Browse all 49224

Trending Articles