maps

jQuery Image Map Question

I'm working on an image map of the united states where a user rolls over the image and that states information displays on the right side, you can see it here: http://www.quiznosforsale.com/test/ Now I need to have that rollover effect stop when one clicks on the state so that they could potentially click on the information that appear...

Strategy in java to clean up / remove unused map elements

Hi, I'm implementing a "manager" in my web app that can be called to set and get which web site context the current thread is in (we white label our site so the web site context represents which site we're on) I'm trying to work out what the best strategy to do this, currently I'm implementing the store of Threads to WebSiteContexts...

How to make a Google Maps API (.js) file a part of a widget for Mobiles

Hello There. I would like to create a Web App for device. For that I would have some script being stored on device, instead of downloading them all time when I start application. As far as I saw including a GoogleMaps API makes some additional request for javascript files. Is there any way of having all of them taken directly from local...

Mapping a function on the values of a map in Clojure

I want to transform one map of values to another map with the same keys but with a function applied to the values. I would think there was a function for doing this in the clojure api, but I have been unable to find it. Here's an example implementation of what I'm looking for (defn map-function-on-map-vals [m f] (reduce (fn [altered...

Google maps spatial reference system

What is Google map's spatial reference system using when you enter a lat, long into the maps search bar? I've found hints that it might be WGS84 but after converting to that coordinate system, nothing shows up when i paste the coordinates into the google maps search box. I am converting from GDA MGA 56. Sample: Input MGA56 coords: ...

How to turn off dragable behaviour on Google Maps V2 (javascript)

Hello Experts! I'm trying to set up a Google Maps on device and on top of it show some simple buttons. But events that I attach to those buttons seems to interferee somehow with map drag functionaliy. Basically drag completly doesnt work and also gives me this button not workin. I really dont care about this drag (I dont need it) - but ...

android maps: How to Long Click a Map?

Hi. How do I long click on a mapview so that a place marker appears at that point on the map? I tried a couple ways without success: 1) Using setOnLongClickListener on the MapvView which never detected the longclicks. 2) My other idea was to extend MapView to override dispatchTouchEvent .. Create a GestureDetector to respond to lon...

Google Maps, array + GLatLng + GPolyline

Hi! I am using the following code to group and show a list of ship positions on a map: function configure_ship_polylines() { var shipPoints = new Array(); // Group positions by ship for (var ScenarioPositionID in __data['scenarioPositions']) { var scenarioPosition = __data['scenarioPositions'][ScenarioPositionID]...

C++ map really slow?

i've created a dll for gamemaker. dll's arrays where really slow so after asking around a bit i learnt i could use maps in c++ and make a dll. anyway, ill represent what i need to store in a 3d array: information[id][number][number] the id corresponds to an objects id. the first number field ranges from 0 - 3 and each number represents...

Best way to store and retrieve this..?

I've been trying all night, and talk of maps, arrays, vectors and hash_maps have filled my head. im just confused now. i posted a previous question here: http://stackoverflow.com/questions/1687085/c-map-really-slow problem was fixed but it seems map's are still not fast enough. i need to keep adding data. data is added ALOT during run t...

Traffic API for specific roads

I am trying to use Yahoo Traffic API but when I provide a location, I get traffic reports for a specific radius. Is it possible to get traffic on specific roads. The problem I am trying to solve is to get traffic for a specific route. I got directions and now need traffic for each of the roads only. Let me know if you have any idea ho...

custom colors in bing maps?

I was looking at http://www.msnbc.msn.com/id/26295161/ns/weather/ and noticed that the flash map is provided by bing and have a custom color scheme. I have a similar need to show maps with a black & white colortheme, is it possible using their api or have they made custom tiles ? (doesnt seem feasible to provide tiles for alls maps on...

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...

Changing the value in a map in Groovy

This is about a very basic program I'm writing in Groovy. I have defined a map inside a method: def addItem() { print("Enter the item name: ") def itemName = reader.readLine() print("Enter price : ") def price = reader.readLine() print("Enter barcode : ") def barcode = reader.readLine() data[itemName] =...

Are there any .Net libraries to include mapping in a WinForms application?

I'm wanting to write a simple WinForms application that will be able to plot several locations on a map. Ideally, the application would embed a map that I can programmatically manipulate, and be able to add locations to the map using postal codes. Is anyone aware of any free maps I can use within my application, ideally with either a .N...

How to check if geocode is close to or on path defined in a KML LineString with PHP or MySQL

Hi, I have a KML file defining several paths/routes (representing actual roads) enclosed in the <LineString><coordinates></coordinates></LineString> tags. Parsing the file to other formats (arrays/MySQL) is already in place, so that's not a problem. Given a point (longitude/latitude) I would like to be able to check if the point is on ...

google maps v3 API mouseover with polygons?

I'm building a map using the google v3 api because it is way faster. Essentially, it's a map of an area with about 30 cities with polygons over the regions. When a user hovers over a city, I want the fillColor to get lighter, and then return to it's normal state on mouseout. when a user click, it redirects them to another page. The clic...

Add custom control to Subgurim Maps

Is it possible to add a custom control to the GMap control in the Subgurim library? I see that I can add a GControl with the GMap.AddControl method. I tried to create a custom GControl by implementing a WebControl inheriting from IGControl. Although this compiled and executed nothing was rendered on the map. ...

Open the iPhone map application via link to Google maps with KML as query

How does one force the iPhone map application to open when the link on a web page goes to maps.google.com/?q=http://example.com/mapdata.kml? If I open the map application and specifically put http://example.com/mapdata.kml in the query box, all the data is loaded correctly. But if I use http://maps.google.com/?q=http%3A//example.com/map...