map

setFocus(overlayItem) of ItemizedOverlay is not working

Hi, I am working on android application and I am able to displayed multiple icons on map using ItemizedOverlay and I have also implemented onTap(int index) method of ItemizedOverlay to display icon specific information in a required window. Now, I want to change icon of selected overlay when user click on some other coponent. I am call...

Is there a solution for PowerPoint map animation

Hello, I want to realize a function in PowerPoint map animation. The animation can be realized by any technologies. But it must accept the data, either from excel or from other sources and the map changes when changing the data. Do you have any ideas? ...

Is there a animated map maker can import data into itself?

Hello, I want to make a animated map. I can import data into the map, and then, the map changes depends on the data. For example, i have a map now. The map consists of many parts. Each part will change its color according to its status(Not start, started, ended). I specify a date for its status started, this part will change its color...

Next value in std::map

I have an std::map<std::string, float> so I can do quick lookups for float values based on names, but I have a situation now where I need to find the next float value in the list as if it were sorted numerically. I cannot just use an iterator, as far as I know, since the map is key sorted. So if my set contains: std::pair<"One", 1.0> ...

Data structure for efficiently returning the top-K entries of a hash table (map, dictionary)

Here's a description: It operates like a regular map with get, put, and remove methods, but has a getTopKEntries(int k) method to get the top-K elements, sorted by the key: For my specific use case, I'm adding, removing, and adjusting a lot of values in the structure, but at any one time there's approximately 500-1000 elements; I want ...

Zip codes in Radius Google Map

Hope someone can advise, I would like to be able to use google map API to find all Zip codes/cities with x Miles of a point. Has anyone done such a thing with google map or maybe some other type of service. Would love to know if so how you have achieved it ! Thank you if you can advise. ...

LLTD Map generation question

How does the LLTD (Link layer topographic discovery) used by win7 and vista discover switches and such? I've successfully made a program to capture and decode the LLTD responses, however, I cant find any info regarding stations in the decoded info. http://pastebin.com/d59b96d1f <-- what I have found from the responses this far. Any ide...

collection and map

hi, can we make a collection that implements map?thanks. ...

MVC route map problem

I have a page where I am displaying some urls in HTML ActionLink here is the code... Sl.No. Office Name the code is generating link like http://localhost:3819/Description/Description/Clerical_Glendale I want to make this link look like ... http: // l...

How to iterate an Arraylist inside a HashMap using jstl?

I am having map like this, Map<Integer,ArrayList<Object>> myMap = new LinkedHashMap<Integer,ArrayList<Object>>(); Now i have to iterate this Map and then the ArrayList inside the map. How can i do this using jstl. ...

Accessing Map value in a separate JSTL loop

Assume that a query result exists called resultSet having a field available as templateId. Also, a map 'templateMap' exists with keys of templatedId. I am not able to get any result from the following, any help appreciated. <c:foreach var="row" items="${resultSet.rows}"> <c:out value="${templateMap[row.templateId]}" /> </c:foreach> ...

Can I use HashMaps in J2ME?

I cannot find much documentation about HashMaps in j2me. Does anyone have experience with this? How to create a HashMap? Map map1 = new HashMap(); should work, right? ...

Is there a typical name for a function like 'map' that operates on a list of argument lists instead of multiple lists of arguments?

(I finally posted and accepted an answer to the effect of "no, there isn't, and the question isn't actually that general".) Consider the Common Lisp function 'mapcar'. It takes a function and some lists as arguments, and calls the function with arguments pulled from the same position in each list. Do standard libraries typically have a...

How can I add a transparent & scalable marker on android Google Map?

I'm trying to add a marker like the cell ID localization marker (blue dot with a round area) in the pre-installed Google Map application on Android phone. I want it be transparent and scalable when I zoom the map so that the marker can indicate a certain geographical area. Anyone can help me on this? Thanks! ...

Google Map GEO Results

Hey All I'm getting really frustrated with google geo results and hope someone can advise me the best was to go. I have created a AutoSuggest feature where you can start typing the address and google will repspond with suggestions. User then selects and address to move on. But before I want them to continue on the next page I want to ...

std::map inizialitazion (only one time)

I have a function that translates data using std::map struct HistoParameter { int nbins; float first; float last; HistoParameter(int _nbins, int _first, int _last) : nbins(_nbins), first(_first), last(_last) {}; }; HistoParameter* variable_to_parameter(char* var_name) { std::map<const std::string, HistoParameter*> hp; h...

Using a STL map of function pointers

Hello, I developed a scripting engine that has many builtin functions, so far to call any function code just went into a if .. else if .. else if wall checking the name but I would like to develop a more efficient solution. Shoul I use a hashmap with strings as keys and pointers as values. How could I do it by using an STL map? EDIT: ...

Mapping 2 vectors - help to vectorize

Working in Matlab I have 2 vectors of x coordinate with different length. For example: xm = [15 20 24 25 26 35 81 84 93]; xn = [14 22 26 51 55 59 70 75 89 96]; I need to map xm to xn, or in other words to find which coordinates in xn are closest to xm. So if I have values associated with those coordinates, I can use this map as index ...

Import XML file to excel with existing map using ExcelPackage in C#

How can I import xml file to existing excel template. I have a map (xsd). It has to be done on server. I used excelPackage , but couldnt find any documentation for the classes. More specific question: how do I write in C# the following code from VB.NET Dim xmlSchema As String = "c:\Schema1.xsd" Map = XL.ActiveWorkbook.XmlMaps.Add(xm...

How to display that given address is not on google map

I have two input box: <input name="adrs" id="adrs" type="text"> <input name="city" id="city" type="text"> Now I want when user write this, is there any way by which i can tell the user that given address is not on google map? Any simple method , I am using EasyGoogleMap.class.php class. Please suggest me any jquery method to show t...