Non-circular RighClick Areas

This forum deals with any kind of web based client technology, whether it is the well known java script based Ajax servlet or the upcoming approaches such as Leaflet, OpenLayers and so on.

Non-circular RighClick Areas

Postby tisptv » Tue Nov 24, 2015 10:25 am

Being able to display a rectangular symbol on the Map
but not be able to make it "right click-able" seems to be a problem.

As far as I can see, the regular VectorLayer is not able to provide this feature.

Any advice how to make this work? I already had to add a DraggableVectorLayer...Do I have to create and add another one ?
Or can I replace the default 'vector' layer? If yes, how?

Regards,
Peter
tisptv
 
Posts: 9
Joined: Thu Sep 03, 2015 8:32 am

Re: Non-circular RighClick Areas

Postby Bernd Welter » Thu Nov 26, 2015 2:49 pm

Hello,

does the codesample provided in the thread viewtopic.php?f=15&t=198 answer this question?

Best regards Bernd Welter
User avatar
Bernd Welter
Site Admin
 
Posts: 1638
Joined: Mon Apr 14, 2014 10:28 am

Re: Non-circular RighClick Areas

Postby tisptv » Fri Feb 19, 2016 11:55 am

Bernd Welter wrote:does the codesample provided in the thread viewtopic.php?f=15&t=198 answer this question?

Yes it did (see my post there).

I still find it somewhat uncomfortable that all the "heavy lifting" has to be done by the application code, but at least I have some insight now :idea:

Regards,
Peter
tisptv
 
Posts: 9
Joined: Thu Sep 03, 2015 8:32 am


Return to PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)