Re: [pmapper-users] Measure Distance

2009-12-01 Thread Salvator*eL*arosa
This is the code in pm_draw.js: function measureDrawSymbols(e, clickX, clickY, dblClick) { // Polyline points number before to add the current click point if(polyline.isClosed()){ polyline.reset(); } var nPoints = polyline.getPointsNumber(); var clickPoint = new

Re: [pmapper-users] Measure Distance

2009-12-01 Thread Salvator*eL*arosa
Sorry, the version is 3.1! thank for reply! Thomas RAFFIN wrote: > > Hi, > > What is your pmapper version please ? > > If you are using v4, you can: > - use the "measure2" plugin (see > http://svn.pmapper.net/trac/wiki/PluginsDynamicData#Measure2 for > documentation) > - modifiy the javasc

Re: [pmapper-users] Measure Distance

2009-12-01 Thread Thomas Raffin
Hi, What is your pmapper version please ? If you are using v4, you can: - use the "measure2" plugin (see http://svn.pmapper.net/trac/wiki/PluginsDynamicData#Measure2 for documentation) - modifiy the javascript/src/pm.draw.js file. Salvator*eL*arosa a écrit : > Hello everyone, > I need to chang

[pmapper-users] Measure Distance

2009-12-01 Thread Salvator*eL*arosa
Hello everyone, I need to change the function measure, so that to double click will give me the distance of the segment when the number of segments is less than 1. This is possible by modifying the code? How can I do? When I measure a distance and I double-click gives me double the distance! Tha