I have the following bit of code to select some divs and add a click handler on them  var tiles = document.getElementsByClassName("tile");  tiles.map(function(tile, i){     tile.addEventListener("click", function(e){         console.l...
I've been searching but cannot seem to find a solution.  I have a GeoJSON file which is 170mb in size. It contains about 2500 polygons. Somehow I need to render it to a leaflet map. Evidently at that size I have no chance.  What will the easiest...
I am creating a map of a particular state, I have been experimenting with d3.js and topojson and have created a great map, but now I want to add a marker on the map.  But now I have problems because as I add the marker have a GeoJSON file to add mark...
I am looking for a way to represent some data points into a 'thermal map' (500x500).  Data array:  "data": [     {        "x": 120,        "y": 350,        "temperature": 90     },     {        "x": 300...
How can i do something like this:    var a = [1,2,3,4]; a.map(Date.constructor);   This code throws an Error on Google V8:    SyntaxError: Unexpected number   I'am also tried:    a.map(Date.constructor, Date.prototype)   with the same result....
I would like to have some points defined in the map and would like to join the 2 points by clicking on them. Basically, the functionality is to identify the locations in the map and connect them by a single line. For some reason, I am not able to use...
I'm using reverseGeo method of manager nokia.places.search.manager (HERE API) to retrieve information about a coordinate. It works fine in my case when displaying the info for one point. But when I've more than one point all my point get the...
I tried to set map center by method setCenter, but still not working. Map is not moving. I tried to used transform from projection to map projection and without successful. Here is part of code. Thanks.  <script type="text/javascript">...
I've just started using the Nokia Here API and it works great, but I've noticed that the maps disable pinch zoom on iOS, on both iPhone and iPad.  Here's an example: http://seemann.com/mapsample/  Works fine across most browsers on a desk...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.