Posted by parkydrupal on March 23, 2012 at 4:51pm
Hello,
I would like to make a view for one map. I guess the view will show certain types of content types.
based on my research & practice, I figured out it is easy to implement. However, I do now want to show them on actual map such as Google map view or Bing, Mapquest, etc.
I wish I can show locations on one layer (just State boundary; like shapefile). then users can click the loation(point) & it should connect to the node page.
I could not found the option in gmap, or openlayer module.
Does any one know how to do this? please give me some tips.
Thanks,
Categories: mapping
Comments
Something similar can be done with the OL module
I did not manage to implement the image map behavior you are describing, but the solution I came up with is possibly even better for my needs. This one is made with the OpenLayers module: http://www.nabezky.sk/en/regions. It uses openstreetmap-derived base layer on top of which is a view-generated layer of geomorphological boundaries of Slovakia. The boundaries were uploaded as gpx files, converted by the Geocode module into a WKT data cck field. Unfortunately that module treats even polygon data as linestrings, so I had to resort into changing the WKT data into polylines by a database script to make the regions clickable and stylable.
wow
thanks for response.
your site is amazing. At this moment, I just add one layer and hide the base map.
I think I can do this with KML file.
I have tried (Location + gmap + gmap addon) and (openlayer + openlayer kml).
however, I think I do have access issue(kml file). when I test A macro file, it worked. however, B macro file does not work.
does any one know how to resolve this issue?
A.
[gmap |overlay=kml:http://www.ancientforestnationalpark.org/AncientForestParkGoogleEarth.kml | zoom=3 |center=40.49709237269567,-121.7724609375 |width=100% |height=800px |control=Large |type=Physical]
B.
[gmap |overlay=kml:http://localhost/BetaJPUrban/sites/default/files/us_mainland.kml]