[Talk-cz] OpenTrackMap opět funguje
Radek Bartoň
blackhex na post.cz
Neděle Leden 3 17:25:12 UTC 2010
Dne neděle 03 Leden 2010 15:05:09 malenki napsal(a):
>
> That map looks really nice. A little thing missing is a
> Permalink-function. It is not hard to add.
>
> You need only
> checkForPermalink(); [1] and
> new OpenLayers.Control.Permalink() [2]
>
Hello Malenki.
Thank you for your suggestion. I've added permalink to OTM. I figured out that
checkForPermalink() function is not necessary. Only thing needed is Permalink
control and test if map.getCenter() does return null before manually setting
map's center and zoom.
--
Ing. Radek Bartoň
Faculty of Information Technology
Department of Computer Graphics and Multimedia
Brno University of Technology
E-mail: blackhex na post.cz
Web: http://blackhex.no-ip.org
Jabber: blackhex na jabber.cz
Další informace o konferenci talk-cz