[OpenLayers-Users] Problem with controls on map (SelectFeature, Drawfeature) - OpenLayers, pgRouting

paweluz paweluz at o2.pl
Sun May 3 18:29:49 EDT 2009


I managed with this!! It is working now!

I changed the layers included in the map in init function. I had:

map.addLayers([gmap,layer1,layer2,layer3,start,stop,result,edge_results])

I changed it to

map.addLayers([gmap,layer1,layer2,layer3])

I removed my routing layers. Then in function toggleControl() I add line

map.addLayers([start,stop,result,edge_results]);

That is all :)


-- 
View this message in context: http://n2.nabble.com/Problem-with-controls-on-map-%28SelectFeature%2C-Drawfeature%29---OpenLayers%2C-pgRouting-tp2777336p2784629.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list