this is my code :
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale...
Hi!
I am working with google map. According to requirements i need to set different zoom level that is dependent to my search query.If there are multiple location on the map in country then map should focus the country. Other scenario is , if there are different locations marked in a city then map should be focused to city level.
Regar...
using
http://maps.google.com/maps/api/geocode/json?address=xyz
we get a json file
I am wondering how can i maniupluate the results in javascript? How do i create the results object in javascript?
http://code.google.com/apis/maps/documentation/geocoding/index.html#JSONParsing
this doesnt really explain how they get the myJSONResult
...
Hello! I’am using Google Map’s GClientGeocoder for reversing map coordinates into string address. Exactly as shown in google’s example here http://code.google.com/apis/ajax/playground/?exp=maps#geocoding_reverse
But, I would like to remove LocalityName (place.AddressDetails.Country.AdministrativeArea.Locality.LocalityName) from place.ad...
Hello. I'm getting some weird black spots with a custom map page (via the Google Maps API v2.x) I have created. (Click SERVICIOS and then the icon farthest south to generate image shown below.) The issue seems to only appear when using Internet Explorer. I'm wondering if this is a common problem and if there is a common fix?
Any ideas?
...
Using bindInfoWindowHtml to create an info window on a Google map, any images in the info window with a title attribute don't show it on hover in Firefox 3.6. They do show up correctly in IE8 and Chrome.
...
Here's a page with the issue
To reproduce the error, using IE - click the directions tab, then any of the others.
What I'm trying to do is this:
On page load, do nothing really. However, when the directions tab loads - setup the map. Like so:
$('#tabs').bind('tabsshow', function(event, ui) {
if (ui.panel.id == "tabs-5") {
...
this is my code :
thanks
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,minim...
I just started working using Google Maps API yesterday, and trying to set up drive directions to my map. My problem is: when I call the function load,
// [...]
gdir = new GDirections(map, directionsPanel);
// [...]
gdir.load("from: " + fromAddress + " to: " + toAddress);
it returns a map whose markers are not draggable. So, I ...
Hey all-
I am working on an Android app that utilizes the Google Maps API MapView, MapController, MapActivity, and ItemizedOverlay. I am basically trying to recreate certain functionalities of the Maps app (damn Google for not providing speech bubbles—for lack of a better name—for items!), particularly those speech bubbles.
I have an i...
I'm working on a map that has multiple markers on it.
These markers use a custom icon, but I'd also like to add numbers on top. I've seen how this has been accomplished using older versions of the API. How can I do this in V3?
*Note -- the "title" attribute creates a tooltip when you mouseover the marker, but I want something that will...
it would be like this :
<div id="map_canvas" style="width: 500px; height: 300px;float:left;"></div>
left:(<=300)
top:(<=500)
GEvent.addListener(map, "click", function() {
//aFn()
});
i want to make a polyline when i clicked:
var polyline = new GPolyline([onePoint,twoPoint], "#ff0000", 5);
...
GEvent.addListener(map, "mouseover", function() {
});
thanks
...
the black div is used to panel,so it can not be droppable.
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewpo...
I have a set of points I want to plot on an embedded Google Map (API v3). I'd like the bounds to accommodate all points unless the zoom level is too low (i.e., zoomed out too much). My approach has been like this:
var bounds = new google.maps.LatLngBounds();
// extend bounds with each point
gmap.fitBounds(bounds);
gmap.setZoom( Mat...
Hi.
I am new to the googlemaps API. I have written a small app for my mobile phone that periodically updates its location to an SQL databse.
I would like to display this information on a googlemap in my browser. Ideally i'd like to then poll the database periodically and if any new co-ords have arrived, add them to the line.
Best way...
Hey there.
I'm trying to locate a city latitude and longitude only by having it's name.
I'm trying to use only the Gmaps API and avoiding the use of the webservice that google offers for geolocation.
...
I'm looking to build a custom view of a Google Maps type of application for providing directions, but I need to blacklist specific roads or sections of roads. I'm not talking just avoiding highways or Toll Roads. I've been looking through the Google Maps and Mapquest APIs but haven't found anything of use yet.
Initially I'm just looki...
I would like to make the info window editable when i click on it.
This is my code:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
...
Hi.
I've taken a large image and divided it in to square tiles (256x256). It is made for google maps also, so the whole image is divided into z_x_y.png (Depending on zoom level).
z=0 => 1x1 tile
z=1 => 2x2 tilesthe
z=2 => 4x4 tiles
My imageMap is "flat" and is not based on a sphere like the worldmap.
I'm gonna use this map on a wind...