[OSM-dev] [Talk-GB] cycling routes

Christopher Schmidt crschmidt at metacarta.com
Thu Aug 16 21:21:49 BST 2007


On Thu, Aug 16, 2007 at 08:52:01PM +0100, Andy Allan wrote:
> 
> Cool. Any (easy!) way to control zoom range to show the icons - i.e.
> only show them on z=13+ ? 

on the Markers Layer, pass in maxResolution(/minScale) as an option.

> And is there an easy way to load 100 popups
> without having to autogenerate the javascript for all the icons?

Could just load a GeoRSS feed, or load the data into a WFS and load them
that way: http://labs.metacarta.com/flickrbrowse/ uses this. (Then the
markers are loaded dynamically as you pan).

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list