Search found 9 matches

by tisptv
Tue Feb 23, 2016 6:53 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: DynamicTooltip on vector.Line (contentProvider issue)
Replies: 3
Views: 7857

Re: DynamicTooltip on vector.Line (contentProvider issue)

Hi Peter, the lines are optimized for fast drawing. If you want to get back the original segments/points (independent of zoom level), you have to modify the Line class. "Modify" is a nice description for "replace" ;) In the API documentation, there's a "Source" link th...
by tisptv
Fri Feb 19, 2016 12:40 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: DynamicTooltip on vector.Line (contentProvider issue)
Replies: 3
Views: 7857

DynamicTooltip on vector.Line (contentProvider issue)

Hello, I have a question / issue with the following scenario: The application has a track with several hundreds (thousands) of individual points - each containing a lot of additional information -. So the line is drawn ('com.ptvag.webcomponent.map.vector.Line') and a DynamicTooltip ('com.ptvag.webco...
by tisptv
Fri Feb 19, 2016 11:55 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: Non-circular RighClick Areas
Replies: 2
Views: 6089

Re: Non-circular RighClick Areas

does the codesample provided in the thread http://xserver.ptvgroup.com/forum/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 s...
by tisptv
Fri Feb 19, 2016 11:03 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: Mouse Events @ JavaScript xMap API
Replies: 3
Views: 8652

Re: Mouse Events @ JavaScript xMap API

Bernd Welter wrote: Sorry for the late response,
we work on our speed ;-)
Same here: Sorry for the late response ;) ...other probelms always seem to intermitt...

The provided code helped a lot! thank you.

Best regards
Peter
by tisptv
Tue Nov 24, 2015 10:25 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: Non-circular RighClick Areas
Replies: 2
Views: 6089

Non-circular RighClick Areas

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 ...
by tisptv
Thu Oct 29, 2015 5:02 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: POI#tooltipContent & DynamicTooltip mutual exclusive?
Replies: 2
Views: 6482

Re: POI#tooltipContent & DynamicTooltip mutual exclusive?

I was able to remove the problem (I hope) with the following procedure: When removing the Line from the Layer, I also "detach" the DynamicTooltip and the Line from each other. That seems to resolve the issue. So something in the lines of: var lineId; // 'private' class members var tooltipI...
by tisptv
Thu Oct 29, 2015 2:56 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: POI#tooltipContent & DynamicTooltip mutual exclusive?
Replies: 2
Views: 6482

POI#tooltipContent & DynamicTooltip mutual exclusive?

Hello, I'm having problems with Tooltips on the AJAX xMaps: Here's the scenario: 1. I add some POI elements[1] and set their tooltipContent property All POIs are shown and their tooltips show up, too. Nice -so far- 2. I add a Line element[2] and attach a DynamicTooltip element[3] via "DynamicTo...
by tisptv
Thu Sep 10, 2015 5:03 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
Topic: Mouse Events @ JavaScript xMap API
Replies: 3
Views: 8652

Mouse Events @ JavaScript xMap API

--- EN: ------------------------------------------------------------------ For our map visualization classes we have a "Geo-Fence" editor functionality where one must be able to (besides other things) drag a polygon rsp. a circle. Therefore I've tried to catch mouse-events (MouseUp, MouseM...