rtsinani / pinclusterer Goto Github PK
View Code? Open in Web Editor NEWClusters the closest pushpins together on Bing Map
Home Page: http://lugolabs.com/pin-clusterer
Clusters the closest pushpins together on Bing Map
Home Page: http://lugolabs.com/pin-clusterer
i love your library but i wonder how do i add id for every pin? cause now the id is null (<a id="null" ....), i want to add different class for some pins too but i don't know how to do it,
sorry if my questions so noob
Zooming out becomes problematic on the last two zoom levels. The second to last level will not display any pushpins at all, the very last zoom level cluster a single pin, but gives an incorrect total.
You can repro this bug using the sample provided here:
http://rtsinani.github.com/PinClusterer/
Just continue to zoom out until you reach the highest two zoom levels.
Ho to use your project with new Bing Maps V8?
Is there any way to provide a handler to launch an info box when one of the markers is clicked?
Just wondering; before I start trying to implement it myself. Is there an easy way to make it so when clicking on a cluster, that it zooms to the bounds of all the markers in that cluster instead of to the center one?
UPDATE: Nevermind was pretty easy to implement
Would it be possible to add options to include an infobox title and description if the pin count is 0?
Someone knows why this is not working with IE?
Changing zoom level, when I have only single pushpins and not a cluster, how do I change the icon to represent a single point? From the circle to a custom image basically
Can you add an example about how to modify/set the pushpin settings?
Cheers
looks like you have the same tiles load issue as we experienced :
Looks like theres an issue when the map is initially hidden :
Here's how we fixed it :
MM.Events.addHandler(map, 'viewchangeend', function() {
if (map.getWidth()===1 && map.getHeight()===1) {
map.setOptions({
height: '100%',
width: '100%'
});
}
});
Hope this helps
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.