Hello Andreas, 

back from sailing? Hope you enjoyed!
> 
> I am not sure what is wrong, but it might have to do with calculating
> the px position of your marker in the updateDynamicFeature method in
> DynamicFeatureRendererOL.js. So instead of saying
> 
> marker.moveTo(objRef.targetModel.map.getPixelFromLonLat(lonLat));
> 
> try saying
> 
> marker.lonlat = lonLat;
> objRef.olLayer.drawMarker(marker);
> 
> This way, you do not have to do the conversion from lonlat to px,
> which probably goes wrong.
I tried it out, and it is working now, thank you! The onlything what
still is strange in my application is, that the scalefactor is completly
wrong! 
As you see in my application in the start value is 240.000 km. But this
is only the city where I am living and its around 20 km long. Does this
has something to do with my projection format?

cheers and thanks   


-- 
Markus Innerebner 

DIS Research Group - Faculty of Computer Science
Free University Bozen-Bolzano

Dominikanerplatz 3 - Room 213
I - 39100 Bozen
Phone:  +39-0471-016223
Mobile: +39-333-9392929


gpg --fingerprint
-------------------------------------
pub   1024D/588F6308 2007-01-09
      Key fingerprint = 6948 947E CBD2 89FD E773  E863 914F EB1B 588F 6308
sub   2048g/BF4877D0 2007-01-09

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to