markers

When writing Eclipse JDT plugins, is there a way to track appearace of certain strings in code?

I'm writing an Eclipse plugin for the JDT. I need a functionality that tracks certain strings or regular expressions and possibly creates markers. I know that Eclipse already does that for //TODO comments, for example (creating task markers for them) but I'm not sure if I can use the same mechanism. I can write my own but worried it wo...

Google Maps - Thousands of markers - JSON

In the following example the markers are loaded from a JSON. If there are 20,000 markers the JSON is going to be quite big. Is there any way to send different JSON files according to zoom level instead of sending one huge array? http://gmaps-utility-library.googlecode.com/svn/trunk/markermanager/release/examples/weather_map.html ...

How do I work out which of my markers are visible in my Google map?

Here is what I am trying to do. I have about 160 places of interest. The user enters their address (postcode, full address, whatever) which I use Google to geo-encode. I then create a Google map centred about this point and I add a marker for each of my points of interest to the map (using a MarkerManager). So far so good. I want to dis...

Is there a way to identify which Google Map Marker has been clicked?

The follwoing code loops over a json object to place marker on a google map. Which works fine. function displayMarkers(data){ for(var i = 0; i < data.Lat.length; i++){ var point = new GLatLng(data.Lat[i],data.Lng[i]); marker = new GMarker(point); map.addOverlay(marker); // here's the problem GEvent.a...

Google Maps Tiles - how to divide 30k coordinates into tiles

Is it possible and effectively divide 30k (and growing) or more coordinates into tiles on Google Maps? My goal is to index all coordinates - assign to a tile and than define a tile size for each zoom level. On the client side marker manager will do the clustering for each tile (which ideally would have less than 200 points) New coordi...

Google Maps API - Map no longer displays

Hello, I setup a directions page for a small company that I do work for. It has a few markers and lets people get directions to the location from wherever they are. For some reason, the page decided to stop coming up in the browser. I've done just about anything I could think and nothing has worked. I'm not the best at javascript but I...

Can I change the marker in a Google Maps embedded map (iframe)?

I know I can do it with the Google Maps API, but do you know if there is a way to change the marker in an embedded Google Map? I want to replace the default "A" button for a "B" button (http://is.gd/1JLxk) or the one with just a dot in the middle (http://is.gd/1JLvH). Thanks in advance! ...

Averaging a set of points on a Google Map into a smaller set

I'm displaying a small Google map on a web page using the Google Maps Static API. I have a set of 15 co-ordinates, which I'd like to represent as points on the map. Due to the map being fairly small (184 x 90 pixels) and the upper limit of 2000 characters on a Google Maps URL, I can't represent every point on the map. So instead I'd l...

Flash Gradient Marker Questoin

Hey there, I was wondering in flash how to delete gradient markers. For example, when I am working on a gradient in the color window, and hover my mouse over a marker, a plus sign appears and if you click it, another marker surfaces. Now when I open up a new file and use the gradient tool, it saved all of the markers I created How do I ...

Google earth browser plugin does not accept custom markers with custom images.

I use custom images in google maps markers. I have included google earth control through google earth browser plugin. But they don't show custom images in google earth control? Any way I can solve this problem? Thanks, Jayesh ...

Snap to nearest marker

Hi there , i am using GoogleMaps and i have 2 or more markers and they are draggable. I want to snap 2 markers if they are near and merge them into 1. is this possible ? Can someone give me pointers .. how i can realize that ? ...

Server side clusters of coordinates based on zoom level

Thanks to this answer I managed to come up with a temporary solution to my problem. However, with a list of 6000 points that grows everyday it's becoming slower and slower. I can't use a third party service* therefore I need to come up with my own solution. Here are my requirements: Clustering of the coordinates need to work with ...

How to change Gmap markers color?

Hi! I've a custom google map with different points: Markers[0] = new Array(new GMarker(new GLatLng(45.0, 9.0)), "Location1", "<strong>Address Line</strong><br/>Some information"); Markers[1] = new Array(new GMarker(new GLatLng(45.0, 12.0)), "Location2", "<strong>Address Line</strong><br/>Some information"); etc. Simply I want to chan...

android maps: how to determine map center after a drag has been completed

Hi. Is there a way through the android maps API, where I can detect the map center after pan animation has completed? I want to use this information to load markers from a server dynamically. Thanks BD ...

Google Map API: How to center dynamicly markers in AS3?

I have several markers on my map and want to center dynamily each time I click on a selected point which show a bunch of markers group. Does anyone know how to do that in As3? ...

Multiple Markers on Google Map (Fails to display over 10 markers) - Ruby on Rails Environment YM4R Plugin

Hi, I have the following issue. I have a google map (using YM4r + Geokit) within Ruby on Rails, anyhow, i basically have an array of markers which are populated in the following manner @shops.each do |sto| markers << GMarker.new (....) end They are definitely being stored fine as under 10 markers they are displayed just fine. Th...

How to update pixelPosition of a custom infoWindows on Google Maps V3 after dragging?

I'm creating a new mashup on top of Google Maps. It's simple enough that I chose to use V3 to provide longer life span. However, there's some special needs that Google Maps infoWindow doesn't provide. I've positioned my custom infoWindow with marker.projectionContainer.pixelPosition. I get correct position after zooming, but dragging d...

Google Map Marker not showing up on first page load, but appears on refresh

I am displaying the different marker on the map , the problem is that sometimes (specially when I reset the web server) the map is loaded properly and it even shows the shadow of the points but the markers are not shown/visible on the map.However on the subsequent calls the markers are shown properly (perhaps cached , but not sure). This...

Dynamically adding listeners in goole maps where iframe src is set differently for each marker

Hi I've read the articles and the excellent piece on scope and closures by Robert Nyman. However i cannot get this to work. I'm trying to assign a mouseover event to various markers and then set an iframe src depending on the marker moused over. I get the infamous last entry for every mouseover event. I've played with it for the better ...

Google Maps: How to add HTML elements to specific coordinates ?

I would like to know how and if I can add standard HTML elements (div, button) to a specific set of coordinates on the map ? For example I have a set of coordinates and I would like to attach a custom balloon notification to them and when I pan away from the coordinates the element should disappear and when I pan back to them, the el...