Description
A map Grid system built on top of MapGraphic.
Current Features
- A simple Lat-Lon grid system.
- Preference pages to set grid color, and enable/disable labels
Screenshot

Planned Features
- An extension point to allow multiple grid systems
- Ability to select active grid via preference page
- Framework for Major/minor grid lines
- Auto-computing visible grid lines based on zoom level
Known Issues
- There is a problem with panning due to the TilingRenderer caching the grid.
Download
Source code
The current revision can be obtained from SVN. Check it out and see what you think, suggestions are welcome.
Avaiable here:
http://svn.geotools.org/udig/community/cole/org.tcat.citd.sim.udig.mapgraphic.grid/
I have downloaded the source and added to my project, updated the plugin.xml. However, when loading uDIG I just get a red cross next to the Grid layer and in Eclipse the following error:
java.lang.NullPointerException
at net.refractions.udig.mapgraphic.internal.MapGraphicRenderer.render(MapGraphicRenderer.java:85)
at net.refractions.udig.mapgraphic.internal.MapGraphicRenderer.render(MapGraphicRenderer.java:129)
at net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJob.startRendering(RenderExecutorImpl.java:303)
at net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJob.run(RenderExecutorImpl.java:358)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)