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.
Post Reply
tisptv
Posts: 9
Joined: Thu Sep 03, 2015 8:32 am

Non-circular RighClick Areas

Post by tisptv »

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
User avatar
Bernd Welter
Site Admin
Posts: 2703
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Non-circular RighClick Areas

Post by Bernd Welter »

Hello,

does the codesample provided in the thread http://xserver.ptvgroup.com/forum/viewt ... f=15&t=198 answer this question?

Best regards Bernd Welter
tisptv
Posts: 9
Joined: Thu Sep 03, 2015 8:32 am

Re: Non-circular RighClick Areas

Post by tisptv »

Bernd Welter wrote:does the codesample provided in the thread http://xserver.ptvgroup.com/forum/viewt ... 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
Post Reply