ladybug-tools / epwmap

⛅️ map of available .epw weather files
http://ladybug-tools.github.io/epwmap/
MIT License
33 stars 18 forks source link

Add find/search option #4

Closed mostaphaRoudsari closed 9 years ago

mostaphaRoudsari commented 9 years ago

There should be a search tab that find the location by keyword and zoom to location

mostaphaRoudsari commented 9 years ago

Here is an example: http://techslides.com/demos/d3/d3-world-map-mouse-click-zoom.html

mostaphaRoudsari commented 9 years ago

This writing almost have everything that I need: http://techslides.com/d3-world-maps-tooltips-zooming-and-queue

mostaphaRoudsari commented 9 years ago

This looks to be the updated version that I should use: http://techslides.com/d3-map-starter-kit http://techslides.com/demos/d3/worldmap-template.html

mostaphaRoudsari commented 9 years ago

Good example to bettrer understand zooming: http://stackoverflow.com/questions/14909054/zooming-and-panning-a-mercator-map-centered-on-the-pacific-using-d3-js http://bl.ocks.org/patricksurry/6621971

mostaphaRoudsari commented 9 years ago

https://developers.google.com/maps/documentation/javascript/examples/places-searchbox http://stackoverflow.com/questions/13689705/how-to-add-google-maps-autocomplete-search-box

mostaphaRoudsari commented 9 years ago

and here is setting zoom max-min:

  var opt = { minZoom: 6, maxZoom: 9 };
  map.setOptions(opt);

Decision made! I will go with GoogleMaps.