Why doesn't show markers in processing using unfoldingmaps?

Hi,
its the first time i’m writing a Processing sketch and i want to make an interactive map to show a position ( GPS coordinates) . I want to display a marker to show destination in the map. I use Windows 10 and Processing 3. And I use the Unfolding Map v0.9.9beta library
. But the marker doesn’t show. Additionally, I draw a text for knowing the gps coordinates in the map. But It doesn’t show.

Why I can’t display anything on top of the map ?

Thank you for your answer!

// Map libraries
import de.fhpotsdam.unfolding.*;
import de.fhpotsdam.unfolding.data.*;
import de.fhpotsdam.unfolding.geo.*;
import de.fhpotsdam.unfolding.utils.*;  
import de.fhpotsdam.unfolding.marker.*;
import de.fhpotsdam.unfolding.providers.*;
import java.util.*;


//MAP
UnfoldingMap map;
Location bob_location = new Location(48.9028720f,2.439979f);

void setup() {
  size(800, 600); 
  //MAP
  map = new UnfoldingMap(this, new OpenStreetMap.OpenStreetMapProvider());
  map.zoomAndPanTo(bob_location,13);
  MapUtils.createDefaultEventDispatcher(this, map);
 
 // Create point markers for locations
 SimplePointMarker bob_marker = new SimplePointMarker(bob_location);
 // Adapt style
bob_marker.setColor(color(255, 0, 0, 100));
bob_marker.setStrokeColor(color(255, 0, 0));
bob_marker.setStrokeWeight(4);
// Add markers to the map
map.addMarkers(bob_marker);
}

void draw() { 
map.draw();  
Location location = map.getLocation(mouseX, mouseY);
fill(0);
text(location.getLat() + ", " + location.getLon(), mouseX, mouseY);
}


Q1

Try this: size(800, 600, P3D); and see if it works.

Kf

it works perfectly thank you

Hi Zbd,

How did you get Unfolding Map v0.9.9beta library ?
Does this lib work fine under P3 ?
Thank you for your help!
Have a good day!