I want to better understand what is required in order to implement a geo-spatial (aka proximity) search. I'd appreciate clarification on the following:
Beyond the latitude & longitude for
corresponding zip codes, what if
anything, is required?
Can anyone recommend any resources (books,
websites, etc.) for understanding
the formulas ...
Hi, I want to show infowindow with each polygon having their own different contents from excel sheet but my code is showing same infowindow having contents of the last row of excel with all polygons
Please can anyone solve this?
Thanks in advance.
for(m=0; m < array.length; m++)
{
var lat = array[m][1];
var lon = array[m][2];
...
Hi,
I am woundering if it is possible to create a route on a map using a train track. I know its possible over normal roads.
Best regards,
Paul peelen
...
I want to get a new map not using refush the webpage.
thanks
and has easy way to get all Overlays on the map?
...
this is google georss which in "my maps":
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
<channel>
<link>http://maps.google.com</link>
<title>beijing 1</title>
<description><![CDATA[dsad]]></description>
<item>
<guid isPer...
Can someone look below and tell me where I'm off?
I can't get the custom icon to display - only the default.
thanks -
<script type="text/javascript">
//<![CDATA[
<?php if ($er_imglayout == 4 && $row->image2) { ?>
function domap()
...
I am new to Android and so I may be missing some very basic things here.
I am trying to host custom KML files on a server behind my firewall and display those KML files on the Android emulator.
I started by writing a simple app that uses an Intent to display the overlay and pointing the app at geo:0,0?q=http://code.google.com/apis/kml/...
I used to be able to get it like this:
directionsService.route(directionsRequest, function(directionsResult, directionsStatus) {
var directionsRenderer = new google.maps.DirectionsRenderer({
directions: directionsResult,
map: map
});
$('#distance').text(directionsResult.trips[0].routes[0].distance.text)
$...
I've created a quite complex store locator of sorts. The user enters their zip and a table returns results with corresponding markers on a map. They can page through results and the markers move further and further out and the fitbounds() function works great for zoom out to the appropriate zoom level to fit the markers. The problem is t...
Hi all,
I'm creating a web app for mobile phones where if they longpress a certain part of the map, something happens. Unfortunately I can't use a window.setTimeout(..) with a mousedown/mouseup combination because the Maps API doesn't contain those events as it would disrupt the drag events. Is there another way to do this? There has to...
Hi,
I am using a form which allows user to enter his address and submit .
When user clicks on submit i need to locate his address using Gmap .
How can we achieve this ?
thanks in advance.
...
I have a mapview page that displays the current location in the map.
I am using MyLocationOverlay for the purpose. The code for that goes as follows:
myLocationOverlay = new MyLocationOverlay(this, mapView);
myLocationOverlay.enableCompass();
myLocationOverlay.enableMyLocation();
myLocationOverlay.runOnFirstFix(new Runnable() {
public...
when you go to maps.google.com and search for "cupcakes" for example, you get the results displayed on a map, and on the left there is a list of results.
I want the user of my application (iPhone and Web) to be able to enter a search term, then it searches on google and provides a list (much like the list on the left in maps.google.com)...
Hi again guys!
Ive got a problem, Im using jquery for my googlemaps thingy Im doin and Im gettin a number from an php array and I´m reading from it via a for-loop and want to translate that number into a word, for example I get the number 1 in the array and then I´d like to translate that number to the word "Core-router".
And return t...
Some people use Geodata Length and Width terms, but I am always confused where
the Geodata Length means Latitude or Longitude.
Thankd for explaination in advance.
...
Hi,
I have used MKReverseGeocoder from iPhone sdk for my application without using mapview of iphone sdk,but my application has map view which i am getting from google api passing Address.
But in order to get address i am doing as follows :
Current location(Latitude/Longitude) with CLLocation library
MKReversegeocoder API of iphone s...
I'm developing a Google Map API v2 app, where markers are loaded from a database. These markers can then be dragged to a new location by a user and saved to the database.
I'm adding these markers as draggable, however I don't just want the users to be able to drag them accidentally. So I have added a button to enable the dragging and th...
I've tried running the code to geocode locations in R via Google Maps and the XML package from this blog post:
http://www.r-chart.com/2010/07/maps-geocoding-and-r-user-conference.html
Here are his functions:
getDocNodeVal=function(doc, path){
sapply(getNodeSet(doc, path), function(el) xmlValue(el))
}
gGeoCode=function(str){
librar...
So I'm making a Google Maps based webapp in JavaScript and a part of my code looks like this:
function revGeocode(marker){
var latlng = marker.position;
if (geocoder) {
geocoder.geocode({'latLng': latlng}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
if (result...
Hello,
In my application I listen to the Google Maps API 'bounds_changed' event to send an ajax request to update some div on the webpage depending on the new boundaries of the map:
google.maps.event.addListener(map, 'bounds_changed', function() {
// here goes an ajax call
}
The event 'bounds_changed' is fired with a high frequency...