jquery - How to create a zoomable, pannable, scrollable map with selectable graticles? -
in ruby on rails application, need create map overlaid selectable graticlues/ grid squares.
there many mapping services out there (e.g., google, openstreetmap, etc), in fact app uses google maps elsewhere.
but need overlay map grid has selectable graticules.
the grid dimensions defined (e.g., 1 degree) , should align lines of lat/ lon (i.e., should scroll, pan , zoom map).
the grid labelled x-y coordinates (e.g, x-axis labelled z, whereas y-axis labelled 1 30). selecting graticule should return x-y coordinates , update form field value.
obviously achieve carving image of map , creating buttons each tile. lose ability zoom , pan.
i'd minimize number of libraries app needs, , possible use libraries in use, such google maps , d3.
after google searching i've found nothing of relevance. start creating such feature? appreciate suggestions or pointers in right direction.
i'm thinking because have write function in next months. thinking simulate creating series of rectangular polygons geo localized can selected according click event stratified other objects appropriate z-index. polygons may have edges, colors , opacity configure , feel fit. assumption not need additional javascript library. normal google maps more enough , work focuses on management of array of polygons, population according grid want accomplish , management of individual event on polygon. 1 difficulty meet if want display text. google maps not provide tools give this, why may need additional libraries such http://google-maps-utility-library-v3.googlecode.com/svn/trunk/maplabel/examples/maplabel.html
Comments
Post a Comment