maps

Is there a restriction on MapPoint GlobeControl objects?

I am trying to make a control that makes use of the MapPoint 3d rendering engine. The control gets a GlobeControl (via the GlobeControl constructor) and then renders a 3D map. The problem is that if I try to get another GlobeControl later the globeControl.Host object of the newly constructed GlobeControl has almost all of its members ...

Exceptions from scripting within Biztalk Map

I have a biztalk (2006 R2) map which uses an class to provide for some custom logic that we couldn't achieve neatly through the existing functoids. When an exception is thrown from one of the methods of this class the exception detail is, unfortunately lost (at least as far as I can see), The transform shape simply throws an exception i...

(VirtualEarth) How do you access the Shape ID from the map?

I have a virtual earth map which loads its Shapes (pushpins) from the Code Behind file (server side). I also have a ticker which runs across the top of the map which shows the cities for which we have a pushpin. I want to add aN "onmouseover" event to the city name within the ticker, so that when the user hovers over the city, the corr...

best website map technologies and best practices

i am creating a website for a local business and one thing they want me to add is a map and directions. what is the latest and greatest features out there that i can include to make this slick / interactive, etc in terms of the above embedded in my own site (whether it be google maps, yahoo maps, map quest, etc) ...

Is there an SVG Map library like Google Charts?

I'm looking for large-scale world maps that I can shade by country. Google Charts has an API for this but it only allows you to generate a small map (440x220 px). Does anyone know of a way to generate such maps with an open-source library? ...

Dynamic WPF geographical map display usercontrol

I am designing an application where I basically want to load geographical maps that are defined using paths (outlines of countries). The Maps should be displayed on my Window and when I hover each country on the map, it should change color. I managed to do this partially by exporting an svg map to xaml and including this xaml in a cust...

Pulling values from a Java Properties file in order?

I have a properties file where the order of the values is important. I want to be able to iterate through the properties file and output the values based on the order of the original file. However, since the Properties file is backed by, correct me if I'm wrong, a Map that does not maintain insertion order, the iterator returns the val...

Using java map for range searches

I have a use case where if a number lies between 0-10 it should return 0 and if it lies between 11-20 it should return 1 etc 0 => 0-3, (0 and 3 are inclusive) 1 => 4-15, (4 and 15 are inclusive) 2 => 16-40, (16 and 40 are inclusive) 3 => 41-88, (41 and 88 are inclusive) 5 => 89-300 (89 and 300 are inclusive) I was thinking how could...

The modern uses for Image Maps

I've been asked to collate a list as possible of the modern uses for Image Maps. When they first came into being, web-designers in the 90s used them as one of the first ways to create a more immersive experience, but now a-days they can be linked to javascript and jquery to perform all sorts of "exciting" tasks. Many of their possible...

Determining if a point is on a road

If I have a polyline that describes a road and I know the road width at all parts, is there an algorithm I can use to determine if a point is on the road? I'm not entirely sure how to do this since the line itself has a width of 1px. thanks, Jeff ...

Multimap output after copying from map

This program stores pairs in a map, counting the number of times a word occurs. The goal is to have the data sorted by number of occurences and output in value/string form. Obviously the normal map sorts by the string key, so I had to reverse it. To do this I read in words, and increment their values appropriately in a map. Then I cre...

Java - is adding a key/value to a map within a map in 1 line of code possible?

I have HashMap 1, which contains 5 keys, all of which have Hashmaps as values. I want to add key/value pairs to these sub-Maps. map1.get(subCategoryMap).put(newKey, newValue); My thinking is: map1.get(subCategoryMap); returns another map. I could split this line into two lines and have: map2 = map1.get(subCategoryMap); map2.put(ne...

Generic keying across maps: Map<K,V> from Map<T,K> and Map<T,V>

I have a function which returns a one-sided intersection of values between two input maps: Map<Key, Value> mergeMaps(Map aKeys<CompositeKey, Key>, Map <CompositeKey, Value> aValues) { Map<Key, Value> myResult = Maps.newHashMap(); for (CompositeKey myKey : aKeys.keySet()) { if (aValues.containsKey(myKey)) { ...

What Maps API other than Google's do you use with GWT?

It seems that licensing terms would prevent us from using Google Maps API in our software. We would prefer to be absolutely free open source and Google Maps API will require commercial license if our software is sold (correct me if I am wrong - I will delete this question then :-). So the question is if there are alternative map APIs f...

How can I draw a road using bing maps api?

Is it possible to draw a road using bing maps js api? Ideally I would supply two georeference points and the trajectory/road would be always on the same road. Basically, I want to highlight a road. ...

Parse Map from properties files

This is a follow-up to my previous question (found here). My properties files so far consists of simple key-value pairs, like ints and Strings. I would now like to use it to place some more advanced structures in it, more specifically I need a Map<A, Integer> where A is a class i have defined, for example like so: foo=bar,5;baz,10 Is ...

Drawing irregular concentric circles using Google Maps

I have a bit of a problem. I am trying to do the following using Javascript & the Google Maps API v2: I can draw individual circles just fine using formulas found all over the Internet. The problem I am facing is that the circles must: A. Be concentric, and B. Must have different radius for each "quadrant", i.e., NE, NW, SE & SW I'...

Calculating map routes on Android

I am trying to calculate a route based based on either geographic location or address. I figured the obvious way would be to use some part of the built-in Google Maps package, but it proved harder than assumed. There used to be a package called com.google.googlenav, but from that disappeared with the 1.0 release of the Android SDK. I kn...

How to load Google Maps Faster in iPhone

Hello all, in my iPhone application I'm loading the driving directions to a WebView from a bundled html page (because i can't find a way to load it directly to the MapKit), but it taking too much time to load, is there any better way to do so? Like in the iPhone default map application code : NSString *filePathString = [[NSBundle ...

Static Google Maps Custom Icons

I've been looking for a way to add custom markers to a static Google map. I know the API doesn't provide the functionality, but I was wondering if there are any third party scripts that would do this. If not, how would I place my custom transparent images onto the static map? Thanks ...