Questions tagged [unfoldingmap]

A library to create interactive maps and geovisualizations in Processing and Java.

Unfolding maps makes visualizing data on a map very quick and effective using Java.

21 questions
5
votes
2 answers

Unfolding SimpleMapApp - Image files missing

I am working on an application which uses unfoldingmaps with processing. Below is the sample code from unfolding in processing import de.fhpotsdam.unfolding.*; import de.fhpotsdam.unfolding.geo.*; import de.fhpotsdam.unfolding.utils.*;…
2
votes
1 answer

Save PApplet frame as image on disk not working

I am making a map with unfolding with processing.core.PApplet. I'm using pure Java instead of Processing (Java 8). My goal is to save the map as an image on my hard drive, but when I try to save it as a PNG, it is a black image. Same blank result…
Jose Gallo
  • 93
  • 2
  • 6
2
votes
1 answer

Why is this happening (strangeness with Processing and UnfoldingMaps)

As part of the coursera UCSD Java class, we are working with the Processing and Unfolding Maps libraries. The course provides you with starter code, which I am trying to expand. But I ran into a problem. On my work computer, where I do most of my…
rocksNwaves
  • 5,331
  • 4
  • 38
  • 77
2
votes
1 answer

How can I visualise tweets on a map in Processing?

I'm trying to use the twitter API to search for a keyword and get the location of that particular tweet to then visualise onto a map. I've successfully created my map using unfolding maps and tilemill, I'm just struggling with the twitter part.…
Natasha
  • 21
  • 1
1
vote
0 answers

How to run UnfoldingMaps project using Command Line?

I have been trying to run a project using Unfolding Maps library in Eclipse. For better understanding of the project, i want to run it through the command line. However, whenever I try to compile it using javac using the command javac -cp…
Saby
  • 119
  • 1
  • 10
1
vote
1 answer

unfolding map library: get map tiles from provider for offline use

I'm using UCSD's starter code to make a visualization of earthquake location and magnitudes overlayed on a map. The starter code uses google as a provider for the map tiles when working online, but you are only allowed to make a certain number of…
rocksNwaves
  • 5,331
  • 4
  • 38
  • 77
1
vote
1 answer

Processing unfolding maps for each marker

I want to add an image for each marker i have on unfolding maps Already tried to use Buffer but im not sure what i should do now. My main class import de.fhpotsdam.unfolding.*; import de.fhpotsdam.unfolding.geo.*; import…
1
vote
1 answer

If I draw a map in Processing's setup method and stop draw() from running at all, shouldn't my map be drawn at least once?

I have an old project which involves using Unfolding Maps and Processing to draw, well...maps haha. The project works fine, but I was checking something out to help a colleague and encountered something I don't quite understand. My question is as…
Roy
  • 27
  • 1
  • 6
1
vote
0 answers

How to remove a marker in unfolding maps?

I am using unfolding maps and I have created a simple polygon marker. My question is how to remove it from the map while the draw function is looping.
Nathan.K
  • 27
  • 1
1
vote
0 answers

When will the draw() of Marker in de.fhpotsdam.unfolding.marker get automatically called

I am working on Marker class in Unfolding library of Java and here is the API http://unfoldingmaps.org/javadoc/. I noticed that the draw() is automatically called but I want to know: 1)What are the situations it will get called automatically 2)What…
Sloth
  • 11
  • 1
1
vote
1 answer

Using UnfoldingMaps to draw to PGraphics

I want to use Unfolding Maps to write to a PGraphics in Processing. import de.fhpotsdam.unfolding.*; import de.fhpotsdam.unfolding.geo.*; import de.fhpotsdam.unfolding.utils.*; import de.fhpotsdam.unfolding.providers.*; UnfoldingMap map; PGraphics…
0
votes
1 answer

Using Unfolding Maps library on Processing editor - Red Marker will not appear on the map

How can I make a very basic red marker (i.e., Red Ellipse) appear on the map (which integrates unfolding library) at the provided location (coordinates) for the shelter in this case. Here's the code sketch: import…
0
votes
0 answers

Make Unfolding Maps window position static

Assignment is to build a data visualisation map as per the data seen in the screen shot. However part of the requirements is to allow the user to zoom in by double clicking as well as pan around by dragging the mouse. This all works, however when…
0
votes
0 answers

Loaded map taking up whole screen in Java GUI application

I built a Java GUI application which used Unfolding Map included in one of the JPanels. While the screen was being loaded correctly in my own laptop and in two other laptops, a very strange thing is happening in my professor's laptop. I had included…
Sifs
  • 1
0
votes
1 answer

Unfolding map constructor in jdk13

I am new to java.I am learning a course in which they use java 8.It has applet class.But I have java13. the project is about unfolding map constructor.I tried to do that in java 13 with awt. But iam unable find out how to use unfolding map…
1
2