[OpenLayers-Users] Displaying a latitude & longitude grid

Richard Greenwood richard.greenwood at gmail.com
Tue Nov 20 21:28:42 EST 2007


On Nov 20, 2007 6:23 AM, Andy Dale <andy.dale at gmail.com> wrote:
> Hi,
>
> To provide the user with some feedback as to their current
> position/coordinates with the OpenLayers.Control.MousePosition control, and
> this works well.
>
> However I now have the need to be able to display a grid of
> longitude/latitude lines along with labels, the size of the grid should also
> be configurable based upon the current zoom level.
> I was wondering if openlayers currently has this ability ? If not what is
> the best way to approach this, a shape file of some kind ? or actually let
> openlayers do it with a vector layer with multiple line features ?
>
> Any advice/help is greatly appreciated,
>
> Andy

If you are using MapServer, you can do it on the server. Search for
'grid' on the MapServer site: http://mapserver.gis.umn.edu/

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the Users mailing list