Re: [OpenLayers-Users] OL 2.7 measure control questions

2009-01-19 Thread Tim Schaub
Hey- Zer wrote: Thanks! Cross hair works great! But the meter/kilometer thing is still a problem. Even though i use 'displaySystemUnits: {metric: [m]}', the control gives the result in km if lenght is more than 1000 meters. Can you post a (relevant) bit of your application code?

[OpenLayers-Users] OL 2.7 measure control questions

2009-01-14 Thread Zer
Dear list, Is there a way to change to mouse pointer to a hair cross when using then measure control? Is there a way to always present the measured distance in meters? The distance shows in km as soon as a distance longer than 1000m is measured. Thanks, Z -- View this message in context:

Re: [OpenLayers-Users] OL 2.7 measure control questions

2009-01-14 Thread Tim Schaub
Zer wrote: Dear list, Is there a way to change to mouse pointer to a hair cross when using then measure control? control.events.on({ activate: function() { map.div.style.cursor = crosshair; }, deactivate: function() { map.div.style.cursor = default; }