Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2451

JavaScript is a prototype-based, object-oriented scripting language that is dynamic, weakly typed and has first-class functions.

0 votes
1 answer
3k views

How to define image map with pins in Javascript?

I would like to do it in Javascript, but not with Google Maps. I have really small amount of pins for four different categories. What is the best way to do it in Javascript? …
againstflow's user avatar
  • 5,054
3 votes
8 answers
14k views

How to create an interactive map with jQuery and HTML?

I want to develop a map in JQuery and HTML. It needs to show world country borders. It must be enabled mouse hover effect and also popup (when mouse over) in which I can add my own text. What JS plu …
againstflow's user avatar
  • 5,054
3 votes
1 answer
2k views

Application for online overlay images on Google Maps

I want to develop javascript app which will take any image user uploads, user will click on 3-4 points on the image (3-4 cities, for example NY, Chicago, LA and Miami) and image will be overlayed on Google …
againstflow's user avatar
  • 5,054
0 votes
1 answer
334 views

How to add content below the map with Javascript? [closed]

I am new with Javascript so please help me. …
againstflow's user avatar
  • 5,054
5 votes
1 answer
11k views

Is it possible to create filters based on attributes for markers in Leaflet?

I'm new to Javascript so I'm interested if it's even possible. …
againstflow's user avatar
  • 5,054
1 vote
1 answer
2k views

Is it possible to show migration arrows on Leaflet map?

I need to develop Leaflet map which will show the whole world. Also, I need to draw some arrows which will show paths of migrations in the world. The important thing to say that those arrows need to b …
againstflow's user avatar
  • 5,054
2 votes
0 answers
2k views

Problem with multipolygon in Leaflet

I'm using Leaflet L.Polygon, but for some reason there's only blank site. Here's my code: var map = L.map('map').setView([37.8, -96], 4); var cloudmade = L.tileLayer('http://{s}.tile.cloudma …
againstflow's user avatar
  • 5,054
4 votes
1 answer
587 views

How to set up a maximal zoom for polygons in Leaflet?

How to set up a maximal zoom for some layer, for example state polygons? I need that my US polygons which represent states have maxZoom 6, and when zoomed higher than 6, that US counties show up inste …
againstflow's user avatar
  • 5,054
0 votes
1 answer
1k views

How to put image on top of OpenLayers 3 map by pixels

I need to put image which should be in middle top of openlayers 3 map. So, it should be defined with map canvas and pixels. Is that possible to do? This is my code: var arrow = new ol.layer.Image({ …
againstflow's user avatar
  • 5,054
1 vote

How to put image on top of OpenLayers 3 map by pixels

I figured it out, solution would be to get bounds coords from pixels: map.getCoordinateFromPixel([x,y]);
againstflow's user avatar
  • 5,054
9 votes
2 answers
15k views

Progress bar for Leaflet map

Is there any way to show progress bar while waiting that all layers are rendered on Leaflet map? In this specific case, while GeoJSON layers are rendered.
againstflow's user avatar
  • 5,054
7 votes
Accepted

Progress bar for Leaflet map

Thanks, but I already found this solution: https://github.com/makinacorpus/Leaflet.Spin
againstflow's user avatar
  • 5,054
8 votes
1 answer
7k views

Does Leaflet has option for scale dependent layers?

Is it possible to show layers with Leaflet depending on scaling? For example not show counties until zoom level reaches 10.
againstflow's user avatar
  • 5,054
10 votes
3 answers
7k views

Chart inside pop up window in Javascript

How to show a chart inside pop up window? I'm using Leaflet JS, which has support for raphael plugin http://dynmeth.github.com/RaphaelLayer/. Is it possible to create a div inside popup window? I was …
againstflow's user avatar
  • 5,054
0 votes
1 answer
2k views

Is it possible to show markers from MySQL database with Javascript?

I'm interested if it's possible to show markers (latit, longit) from MySQL database with Javascript libraries like Leaflet? …
againstflow's user avatar
  • 5,054

15 30 50 per page