Hello sir. Thank you for great module.
I need some an overview of how to add markers on my map to store it in database.
To clear I want:
1) Map with my custom created tiles
2) Possibility to create markers and poligons on my new map by clicks on map
3) View this for users
p2 caused difficulty
I did:
1) Overlayers -> source -> create new XZY source with my custom url (${z}/${x}-${y}.jpeg)
2) Overlayers -> layers -> create new tiles layer with XZY source from p1
3) Overlayers -> map -> create new map with my p1 and p2
4) Preview map - it works
5) Create new cck type with geodata field. Checked openlayers widget
After I try to add new marker - it shown global map - not my custom map.
How I can avoid this problem?
Comments
Comment #1
m.stentaTake a look at the Openlayers Examples module - there is a good example in there for setting up a map that uses data from a Geofield, and allows you to add/edit points/lines/polygons, etc.
Another example you can look at is in the farmOS distribution, which uses Geofields and Openlayers extensively: http://drupal.org/project/farm
Hope that helps!