google-maps

Catching errors or exceptions

I built a mashup of google maps and weather.com and everytime one of these server is not responding my application hangs up too.What do you think I can do to prevent or minimize hanging up of my web apps?Hanging up like you can't navigate away from that page.... I got this code on my app code to access the weather service; Public Clas...

How to show a specific place in GoogleMap?

Like here Can someone provide a demo script here? ...

Google maps, setting minimum and maximum slider controls

Hello, I am working on a googlemap, which all works fine, apart from the fact I can't seem to set a max and min zoom (I would like to limit the levels to a couple of levels either way of a default zoom view) I have tried using the map.getMimimumResolution, but this doesn't seem to work - any ideas ? function initialize() { var l...

Html / Script Scraping Google Map using Hpricot (Ruby On Rails)

Hi, I am having a problem Scraping Code i require to extract information for a Web MashUp i'm creating. Basically, I am trying to Scrap Code from: http://yellowpages.com.mt/Meranti-Ltd-In-Malta-Gozo;/Hair-Accessories;Hijjhkikke=Hiojhhfokje.aspx This is just one of the pages i will need to scrape and hence i cannot feed the program d...

How invoke ".html" as google map marker information window?

hi i have a small webpage "My_Page_1.html". i wands to invock this webpage to my google marker information window, The below code, i used for calling google map to my webpage "My_Page_2.html"... <script type="text/javascript"> var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(32.54681317351514, 3.5...

Google map for windows mobile 5.0

how to use google map APIs for windows mobile 5.0. i m developing an application in which 1--> i need road map for two location(one is source to destination). 2.-->i need total km/miles for two location. plz help me out. ...

How can i change Markers images in This javascript

I want to change Images of my markers in this javascript can anybody help me out from this ... thankx <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; ch...

How does this work in computing the depth map?

From this site: http://www.catalinzima.com/?page%5Fid=14 I've always been confused about how the depth map is calculated. The vertex shader function calculates position as follows: VertexShaderOutput VertexShaderFunction(VertexShaderInput input) { VertexShaderOutput output; float4 worldPosition = mul(input.Position, World)...

directionsService.route() with new Map and setMap() in callback breaks setPanel()?

Using the V3 Google Maps API, I've run into a case where it seems that creating the map for .setMap() causes .setPanel() to not do anything. The ultimate goal is to have the map load once. If I create the Map prior to the route call, everything works fine. But I first see the map that is loaded when the Map is created, then the .route ca...

How do you draw text with a border on a MapView in Android?

I'm trying to draw some text onto an MapView on Android. The drawing of the text goes fine, but it's very hard to read the text because it's white with no black border (like the rest of the text that appears naturally on MapViews to denote cities, states, and countries). I can't seem to figure how to draw the text with a black border. ...

Easiest way to get the image of a map from google with markings on it?

I have a hundred of UK postcodes and need to see a map with markings at that places. How can I do it using google maps API or maybe even just by creating some URL? Thanks. ...

How do you click on a map and have latitude and longitude fields in a form populated?

I have a form that a user needs to fill out where the location needs to be identified. I have latitude and longitude input fields on the form. I am also looking for the decimal lat and long. What I would like seems really simple. I just want to have a link that the user can click on that would popup a map (google or yahoo) and he cou...

What map choice (e.g. Google, Bing, etc) for my SaaS product?

Part of what I want to offer subscribers to my application is a map showing the location of their customer, with the option to get directions (the idea is that they can just easily get the directions from one place instead of copying/pasting and going to Google Maps or Mapquest or whichever). As I understand it, however, Google Maps wil...

Open Street Map Marker Manager

Hi! I need kind of Marker Manager for OpenStreetMap like in google maps. Do somebody know anything about it? ...

RSS to KML Overlay

I'm want to display my blog as a Google Map overlay (each post contains geotags). How can I dynamically create a KML overlay from an RSS? Or better, how can I create a loop (PHP) that would display map placemarks according to given geotags? Thank you! ...

Google Maps - display/hide marker onclick

Hello! The Problem: I got a Google Map. In my init() Method I set all the Markers to its lon/lat. Now I want to have some checkboxes on my page. In my map I have several Markers for Icecream, Playground and Gasstation. Now, clicking on the checkbox for Playground I want to display all Playground markers. On disabling the Checkbox, I want...

Google maps hide marker (and info) and only show when you click on an area that has info.

I want to add a transparent png into google maps instead of using the default icon. Where in my sample code would I change the default icon to a png named transparent.png? Thanks! function onLoad() { map = new GMap(document.getElementById("div_map")); map.addControl(new GSmallMapControl()); map.addControl(new GMapTy...

How to show direction with arrow from start to End

Hi to All, I have the packets record in my database. Which I showed on google map with polyline with the use of google map control in asp.net, I want to show the direction arrow between the points as on which vehicle goes so that we will see the the polyline with arrowed direction. How we can do this type of functionality??? If...

Adding a custom icon to a google map

Hi, I'm not a javascript guru, so I need a hand adding a custom icon to some google maps javascript. Code below for your reference. All good things P function populateMap() { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(55.915832522285235, -3.5911989212036133), 10); map.setUIToDefault(); var p...

How can I get the coordinates of any given address using CoreLocation framework and not google Maps API?

Hi All, I'm interested in finding out the coordinates of "any" given address and not just the current location using only CoreLocation.Framework. I do not wish to use google maps API or yahoo maps or any other third Party maps API. Is it possible? How can I get the coordinates of any address? Thanks ...