Monday, 5 May 2008

Got it

More from my dabbling with OpenLayers: I've found why the marker disappears, or at least how to keep it from disappearing. There is an undocumented parameter on the marker constructor that determines how higher zoom level the marker is displayed to. Now the map works well. A quick drawing session to create a png image of an arrow to use as the marker and it is done.

Overall the OpenLayers is very neat. It works well, there is some documentation which is readable and it is flexible and usable.

Sis now has a slippy map embedded in her prototype web site. Now if we can get the remaining 10 pages defined, written and checked we can then maybe go live.

1 comment:

edgemaster said...

It's probably documented in one of the parent classes, the OpenLayers doc assumes you are aware that the inheritances aren't shown.
Which property were you having fun with so I may add it into the map constructor in wiki examples? (Layers automatically inherit resolution and zoom stuff from the map if not explicitly set)