I'm currently trying to make an Image-Map on my site that will resize depending on the size of the window... I was wondering if there was anyway to do this with HTML or will I have to do this with Javascript or another language.   <div style...
I am trying to use an array map to filter a object a bit further to prepare it to send to the server to for saving. I can filter to 1 key value, which is great, but I want to take it 1 step further and check them against a boolean inside.  So, right...
I'm trying to use the new (ES6) Map objects in order to represent a map between properties and a value.  I have objects in a form similar to:   {key1:value1_1,key2:value2_1},..... {key1:value1_N,key2:value2_N}   I want to group them based on both...
When doing this:  var a = new Array("a", "b"); a.map(function() { });   in IE8 I get:  "Object doesn't support this property or method"   Is this method not supported in IE8, or do I have some other problem? I've had a...
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...
Of late, most of my programming experience has been in Processing, and more recently I have been wanting to branch out a little deeper in to some JavaScript, since they are slightly related.   I was just wondering, as my recent searching has turned u...
Here is my code for adding a image on openlayers map.  var image = new OpenLayers.Layer.Image(     'Image 1',     'http://belocalat.com/wp-content/plugins/openlayers/data/baselayer-img1.png',     //new OpenLayers.Bounds(27.418100,35.7...
Been trying to create a custom google map, i've written the code but something isn't quite right, wondered if anyone could point out what I've done wrong. Code is here:  <script type="text/javascript">   function initialize(...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.