[OpenLayers-Users] Pop-up auto size problem
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Fri Mar 15 13:17:20 PDT 2013
Hi Albrecht,
I was working on several issues auto of size of the popups, try this:
https://github.com/jorix/OL-FeaturePopups/blob/gh-pages/lib/patches_OL-popup-autosize.js
This is a collection of patches related to these problems, some pending
review by OL Team, others without "Pull Request" on OL.
Regards,
Xavier Mamano
Albrecht Lohöfener wrote
> Hi Everyone,
>
> I'm developing the next version of the wordpress osm plugin. I added a
> feature to combine nearby markers to one marker if the distance between
> two markers is too small. If you click on a marker a pop-up is shown.
> The problem that I have now is that the auto size of the pop-ups doesn't
> work properly. Sometimes the size is correct and sometimes not. You can
> see this on the this website:
> http://www.aus-reisen.de/reiseroute/
> I also uploaded two pictures to show the problem:
> http://www.albrechtloh.de/box/pop-up_right.png
> http://www.albrechtloh.de/box/pop-up_wrong.png
> When you are moving or zooming the map the marker and pop-ups are
> deleted and created again. The problem occurs after the pop-ups and
> markers were recreated. I have this problem only in pop-ups with many
> lines.
>
> I'm using the OL version 2.12.
>
> Bye, Al
>
> _______________________________________________
> Users mailing list
> Users at .osgeo
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Pop-up-auto-size-problem-tp5040499p5040785.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list