A map is a data structure relating keys to values, or a higher order function that applies a function to a list

learn more… | top users | synonyms

1
vote
0answers
11 views

Mapping Census data w/ ggplot2 - Haphazard poly constructs

First, I apologize for the title, but I am not entirely sure how to describe what is happening with my map (hence the image inclusion). I am new to mapping with ggplot2, and for my first 'out of ...
-1
votes
1answer
11 views

Deploy MapDB to Heroku

Folks, I'd like to deploy MapDB to Heroku. Any experiences or search directions? Using heroku for the deployment is business requirement but we can change MapDB if not compatible with Heroku. We are ...
1
vote
1answer
21 views

How to map (alias?) a command in vim

Lets say, hypothetically, that I always forget the command :vsplit, and always thing it’s :vdivide. Is there a way to map (I’m not sure if that’d be the right thing to call it, since it’s a command) ...
1
vote
1answer
12 views

Use of incanter $map some clarification

Assume an incanter dataset, freqs, of k columns of integers. I want to convert say 2 of the columns into values between 0 to 1 by dividing each column value by a fixed value, say 20. I can do this ...
1
vote
1answer
63 views

List from Int to specific Strings

What would I do if I wanted to turn a list of Ints such as [1,2,3] to ["∧","∨","→"] (so if there is a '1' turn it into the '∧' etc...)
0
votes
1answer
19 views

How to add a Map to an Action Bar tab in Android/Eclipse?

I have a Map class in an Android App that shows your location, and works fine on its own. However, I am trying to add the class as a tab to my Action Bar in another app and am having difficulties. ...
-1
votes
0answers
6 views

Openstreetmap get Coordinate from polyline

i'm a newbie in Openstreetmap and I need to plot a polyline to get the coordinates like in Google Earth. 1. What app i need for this? 2. Can I import a kml file to Openstreetmap ? Thanxs!
0
votes
0answers
12 views

Map PC ports (in Windows)

One of my customer put a printer in the LPT2 of his PC. My application managed printing as: copies .txt files to PC ports (COMx,LPT1). The issue is that these ports are hardcoded in the application ...
1
vote
2answers
41 views

scope confusion (for me): DefaultTableModel keeps reference to Vector. Why?

Only the last Vector instance of rowData in loadDefaultTableModel is actually being displayed in the actual JTable. Why is that? Other vectors, with other data, are being instantiated but are not ...
1
vote
1answer
51 views

golang: traverse arbitrary map in sorted key order

In short: How do I traverse a map in sorted key order, regardless of the map's type? I found a few related questions, the closest one suggesting that it can't be done without relying on the reflect ...
1
vote
3answers
50 views

std::map values lost after returning

How to handle memory properly while passing a map from one function to another. I have a function that returns a map that it builds. The value object is a Class foo. I print foo at three different ...
0
votes
2answers
14 views

Leaflet zoom and pan

I feel kind of stupid here... I have several markers in a map area and need to find a way to pan and zoom to this area. The goal is be able to view all markers at once. I insert the markers with ...
0
votes
0answers
14 views

Referencing jar file of google play service in map v2 project

I'm trying to reference the jar file of google-play-service-lib but each time i reference it from the properties window, it gives me a red cross beside the lib. I tried uninstalling the google play ...
0
votes
1answer
34 views

Retrieving value from an object within a Map

I am writing an interpreter program and I am stuck at the moment with this. There is a Map for Integers and MJObjects: private Map<Integer, MJObject> objectHeap; objectHeap = new ...
0
votes
0answers
17 views

How to update icons locations over a map in windows phone 8

I'm new in Windows phone 8 development and I have problem to update icons over a map without painting a new layer. I'm using in timer interval such as: MapLayer layer; ...
0
votes
2answers
34 views

Program freezes when trying to access a map in a structure

In my code I have multiple structures, including some that have maps whose second is a pointer to a structure, as seen here: struct course { college * coll; int number; int numprereqs; ...
0
votes
1answer
23 views

Map with int key in objectiveC

I need to map integer values to objects in some sort of mutable array. What would be the best way to go about this. The only options I see are to use objectiveC++ ... std::map<int, id> theMap; ...
0
votes
0answers
6 views

image map onclick image display

I have created an image map and i need each area to display a small caption image when clicked. See the test here. My code: <img ...
1
vote
1answer
32 views

Indoor Map of Building - Android

I'm trying to create an app that will tell a person what zone of a building they are in. I'm using bluetooth dongles to get an approximate location, as oppose to exact location, and show the user on a ...
0
votes
2answers
19 views

Transfer contents of map to a single vector of custom data structure

When I try to execute a program that calls my method I get a segmentation fault (core dumped) but I just cannot see the error. Have I made some kind of noob mistake? #include<map> ...
-5
votes
0answers
21 views

Jquery Vector Map for India [closed]

How can i have Jquery vector map of india showing all states.How can show sales of each states in Popup.PLease help
-2
votes
0answers
26 views

How can i get the Google Map api document [closed]

I got the google maps sdk for ios on "https://developers.google.com/maps/documentation/ios/start".but i can't found out the api document (the document like the xcode--organizer--document). if someone ...
0
votes
1answer
14 views

mapping corodinates

I've built application which receives coordinates from a patients device every time a text is sent from the carers requesting an update. I'm now looking into my options for mapping the coordinates ...
0
votes
2answers
32 views

nested use of Apply/Map/MapThread in pure functions

1. My main question I have a function with two argument slots. I wan't to apply this function to 2 lists with different length's. I thought in this solution: Map[Map[f[# &, #], b] &, c] ...
1
vote
2answers
56 views

Should each area of a map have its own class?

Warning: Xna Noobie here. I'm making a 2d, top-down rpg, kind of like Pokemon. In my game I have, along with the main game class, a class for the player and a class for the map. Should I have ...
0
votes
0answers
5 views

Return to current user's location

im using google maps api v3 in an application, at the begining i detect the user's location, then i move the map in order to watch any thing for example, i would like to have a button which takes ...
4
votes
3answers
111 views

How is std::set slower than std::map?

I was trying to solve this problem from acm.timus.ru which basically wants me to output the number of different substrings of a given string (max length 5000). The solutions I am about to present ...
0
votes
0answers
21 views

Google map goes blank when triggering click event outside

I have created a google map using V3 js API, and inside the map I am showing multiple markers. When I am clicking on a markers it does an ajax call and shows the result in the infowindow. I have added ...
0
votes
1answer
31 views

Return Value of put() in HashMap: Java

I was having trouble understanding the explanation for return value of put() in a HashMap private Map<Bookmark, Integer> mDevice = new HashMap<String, Integer>(); String abc = ...
-1
votes
0answers
29 views

Google map api polygon orientation from true north

Hi i am creating a solar panel quotation application in php. I have used google map polygon for selecting the roof of a building.I need to calculate the roof orientation from the true north in ...

1 2 3 4 5 206
15 30 50 per page