Hello

I am displaying business on open street map. There are some businesses with same latitude and longitude. That is why some marker of business which have same lat and long are going to be overlapping with each other. In google map API there is spidered library through which we can handle this issue. Is there any solution for this issue in OSM ?

This question is marked "community wiki".

asked 26 Jul '13, 04:32

Saeed's gravatar image

Saeed
1224
accept rate: 0%

edited 13 Nov '13, 16:31

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239551


That depends on your current setup which you didn't tell us. Leaflet has a really nice plugin called MarkerCluster (example) which makes it easy to handle lots of (overlapping) markers.

permanent link

answered 26 Jul '13, 06:33

scai's gravatar image

scai ♦
31.4k18285439
accept rate: 23%

1

I am using OpenLayers.js libaray. for example just like http://openlayers.org/dev/examples/markers.html

(29 Jul '13, 06:25) Saeed
1

There seems to be a similar plugin for OpenLayers described as AnimatedCluster strategy for OpenLayers which is designed similar to the Leaflet plugin.

(29 Jul '13, 07:23) scai ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×114
×57
×33
×30
×6

question asked: 26 Jul '13, 04:32

question was seen: 9,248 times

last updated: 13 Nov '13, 16:31

powered by OSQA