I have a collection of GPS coordinates (Lat/log) in an array that I want to use to create a polygon in google maps. If i use the unsorted array, the polygon lines are drawn in the order of the array index.
I am wondering if there is a way to sort the array such that when i draw the polygon, the borders do not overlap. Any insight will ...
Hi ,
I need from you to share your experience with any third party API for Google Maps V3 and your rating
please share information like
name , url , tech used (serverside , clientside ) , price or license , performance , any thing you would like to add
for example I like:
1-markermanager
2-http://google-maps-utility-library-v3....
I have a Google Map that is created using the newer Google Maps API V3 from a Perl script. The script builds the map from values passed to it from hidden form fields in the parent page, and returns the map into an iframe in the same parent page.
The reason that the map is in the iframe, is because I have discovered browser issues both w...
I am trying to put a youtube video into a Google Map (v3) Info Window.
It works fine in Firefox and Internet Explorer.
It does not work in Safari and Chrome. In those browsers the positioning is off and the video doesn't move when you move the map. The video also gets chopped sometimes.
Here is the code that doe
<!doctype html>
<html...
Hi,
I've been using the code from this V3 example to set up a links bar that dynamically populates when different category filters are selected, but have two problems at the moment. Firstly, I've put the the initial makeSidebar function in the map's idle event, but the sidebar is only created when the map is moved, not on loading of the...
I cannot seem to figure out why the object returned by getProjection() is undefined. Here is my code:
// Handles the completion of the rectangle
var ne = recBounds.getNorthEast();
var sw = recBounds.getSouthWest();
$("#map_tools_selat").attr( 'value', sw.lat() );
$("#map_tools_nwlat").attr( 'value', ne.lat() );
$("#map_tools...
I was just wondering if there are any tutorials on how to get as advanced with the google maps api. http://web-app.usc.edu/maps/#upc Specifically, I want to know how to use json for the search function.
thanks guys :D
...
Hi Guys,
im fairly new to the Google Maps V3 API and i'm running into an issue where all infowindows have the same data, the code im using iterates through an array of marker details and outputs the marker plus an infowindow for each marker. This is my code:
<script type="text/javascript">
(function () {
google.maps.Map.prototype....
I can decode the points, I just need to figure out how to loop through the array of points and produce
[
new google.maps.LatLng(39.112456,-84.574779),
new google.maps.LatLng(39.314153,-84.261379),
new google.maps.LatLng(39.197099,-84.667579),
new google.maps.LatLng(39.16836,-84.479381)
];
Code available at http://pastebin.com/Zf6hi4A...
What is the best way to plot points on a Google map? I have a bunch of addresses (about 300) stored in my database, and right now I am outputting each address into a JS array and plotting each address by looping over the array and running a function that geocodes the address and creates a new marker. However, I'm not sure if that is the ...
We are building a service that uses location-based pricing. The user can input an address and see prices in his area as determined by various server-side algorithms. It is then possible to order items based on these prices.
I'm trying to figure out if there is a way we can use client-side geocoding in this scenario (to avoid hitting Goo...
I have a site that I screen-scrape off GoogleMaps to get the driving distance from one point to another. It isn't heavily used (20 requests per week max), but Google's recent upgrade broke this functionality.
I used to use this:
$url = 'http://maps.google.com/maps?f=d&hl=en&saddr='.$start.'&daddr='.$finish.'&output=xml';
$ch = curl_...
I am using Google Map Version 3 API to add markers on Google Map.
The problem is that, markers show up on browsers.
but when users print the map through browser's print command, nothing shows up.
The question is,
- How can I display markers on printed materials? -
Comparisons:
On the browser - markers are clearly visible
After...
Hi,
I want to create custom user control in google maps api v3. I want this control show in place where user click on the map. This user control contain pictures and text. I can´t use InfoWindows, beceasue my user control have different look. And i didn´t found way how to style infoWindow only change its inner html. I googled without an...
I can't get my map to appear when I'm using the Google Maps API. I am trying to build an application, and it won't work there, but it is also broken in this testing page I've made. Does anyone know what it is that I'm doing wrong?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-tran...
I'm trying to upload a KML document to "My Maps" using the Google maps data API. Am am able to get logged and and get a authorization token and execute a few other commands just fine (using the HTTP protocol) but when I try and create a new map by uploading KML (by following the documentation exactly) I always get 400 BAD REQUEST.
Is t...
I have a point where a Gpolyline line is drawn from a marker to another point. After I click on it a second time, I want to remove the polyline. How do I remove the line after clicking on the marker a second time?
My pseudo-code is as follows:
google.maps.event.addListener(markersArray[0], 'click', function() {
'draw line to po...
Is there a https version of the google maps api v3? I have a site that uses https and am getting annoying mixed secure and non-secure content errors in IE. I read that in v2 you had to pay to get this, but haven't seen anything for v3.
...
I currently have a map that shows state polygons for the US. I would
like to be able to have a user double click a state and then zoom into
the state and show congressional district (CD) polygons.
I have the individual maps working great using kml. Im not sure what's
the best approach for the drill-down from state to CD. The tricky bit ...
Howdy Gang,
I'm so close on this one right now, but can't quite get the result I'm looking for. This is an attempt to pull a series of geolocations - along with a title and text. These are then assigned to markers which are populated on a google map. My ultimate goal is to get the distance and duration of travel between each of the marke...