Hi,
Has anyone got any suggestions on where to start with building a google map into a rails app? I would like users to be able to add a marker by clicking the map, and have spent a few days looking for a suitable tutorial or plugin (beyond ym4r), to little avail...any help would be much appreciated as I am finding the Google Maps API r...
Hi. I've read docs about positioning controls on the map(TOP, TOP_LEFT, etc), but Is there any way to make custom position? For example: left: 20px; top: 200px;
I just want to have in top_left corner my logo and zoom control right under logo.
And how to remove pan control in navigation controls? I want to have only zoom control in defau...
i am using the google maps API (v3). I just realized that a new line showed up at the bottom of my map that says:
Map Data 2010 AND, AfriGIS (Pty) Ltd, Europa Technologies, Inva, Geosysternas SRL, Maplink . . . .
How do i get rid of this?
Its longer than my map so it gets truncated and looks weird, is there any way to fix this (if th...
I've been developing my application with Google Maps and the wonderful rails plugin for it, expecting to find that when I put my app into production that the commercial licensing wouldn't be too expensive.
Then I found out it cost $10,000/year, no exceptions so far.
http://www.47hats.com/2009/07/google-maps-the-10k-gotcha/
That's not ...
When a user moves the Google map, I would like to display items in the viewing range of the user automatically. How can I efficiently and quickly display the items?
I have basic understanding of calling getBounds() method every time the user moves the map, but I am not sure how I can efficiently search and get from my database the item...
I am new to google maps api. I'd like suggestions on achieving the following functionality: whenever the page loads, the map will load centered around the US. Imagine a box around the US with given lat/longs specifying the minimum and maximum boundaries. I need the map to load at the appropriate zoom (and zoom needs to be disabled) su...
example: function getGeoInfo(q)
{
GDownloadUrl("search.php?q="+q, function(data)
{
eval(data);
});
}
why this code get error?
please anyone can help me
...
Hi,
Firstly this has turned out to be quite a long post so please bear with me as its not too difficult but you may need to clarify something with me if i haven't explained it correctly.
So with some help the other day from guys on this forum, i managed to partially set up my 'mapClass' class, but i'm having trouble with it and its not r...
Hello
I already wrote a program that read locations from android GPS ; each locatin(long , lat) will be sent to remote server to save it and display it in a website map.
what I'm trying to do now is to display my path in android by drawing line between the points
I didn't find any sufficient answer until this moment! so how this can ...
hi
i hav an mapviewer applet with my map images and all of feautre need to word correctly(geo coordinate to pixel coordinate an viceversa , zoom in and out , ...)
so i want to add a thing like Get Direction on google map to my mapviewer, can i use google api in my applet? how ?
or is any suggestion to do that?
...
Hello,
my Question is as follows:
What does GEvent.addListener(map, "click" function(){...}) return into the callback function? I don't find any information in the GMaps reference at all, can you show me some? The only thing I found out was that there are two parameters, "overlay" and "latLng" that are passed. The name of these paramete...
Hello,
I like to create a map with Google Maps that can handle large amounts of markers (over 10.000). To not slow down the map I've created a XML-file that only outputs the markers that are inside the current viewport.
First, I use initialize() to setup the map options:
function initialize() {
var myLatlng = new google.maps.L...
Trying to simply close an infowindow?
I already have an array of markers, so something like this would be good. Thanks
MyMarkers[i].infowindow.close();
...
I'm having trouble trying to find a way to guide a user from one point on a map to another. I can add the locations I want to the overlay.
I want the user to be able to pick a location and be guided through the streets to that location.
Does anyone know how to do this, or is it even available in the api?
...
Hello,
In Google Maps API v2, I was using map.clearOverlays() to remove the marker and draw them again.
How can I do that using Google Maps API v3 ?
Thanks
...
What is the most effcient approach to check if there are any markers within a viewport?
A perfect solution wouldn't require checking all the markers one-by-one if it's contained by the viewport.
...
In Google Maps v2 GClientGeocoder.getLocations() you can search for an address or for GLatLng.
Is there a way to combine these two, namely:
search for a string containing both values, something like Home @12.345,21.8970
have the result (anchored at the coordinates) on map with a place name (Home) in the info window?
...
At the moment I am using this code to inquire google maps for directions from an address to another one, then I simply draw it on a mapview from its GeometryCollection. But yet this isn't enough I need also to extract the total expected duration from the kml. can someone give a little sample code to help me? thanks
StringBuilder urlStr...
hi,
i'm parsing some html data which has google maps embedded (displaying just one certain point) and i was wondering:
how can i find out the exact geographic coordinates of that point?
thx
...
Note: This question is only based on Firefox. It may or may not apply to other browsers.
Using the Google Maps API (v3), I can create a map and handle normal click events just fine, but when I want to handle rightclick events, it doesn't work on Macs.
So, my question is how can you detect "rightclick" events from Macs with the Google ...