# Why doesn't show markers in processing using unfoldingmaps?

**URL:** <https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685>\
**Category:** Libraries\
**Created:** [July 11, 2018, 12:50pm UTC](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685 "2018-07-11T12:50:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbd](https://avatars.discourse-cdn.com/v4/letter/z/f6c823/32.png) [@zbd](https://discourse.processing.org/u/zbd)\
**Post date:** [July 11, 2018, 12:50pm UTC](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685/1 "2018-07-11T12:50:30Z")

</div>

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!

```auto
// 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](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/1X/c4daef6c300690b5dbbae3b0e6edf9782f461da1.png)

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [July 11, 2018, 1:28pm UTC](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685/2 "2018-07-11T13:28:19Z")

</div>

> [@zbd](#):
>
> size(800, 600);

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

Kf

---

<div class="post-metadata">

**Author:** ![zbd](https://avatars.discourse-cdn.com/v4/letter/z/f6c823/32.png) [@zbd](https://discourse.processing.org/u/zbd)\
**Post date:** [July 11, 2018, 1:35pm UTC](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685/3 "2018-07-11T13:35:49Z")

</div>

it works perfectly thank you

---

<div class="post-metadata">

**Author:** ![fabwoj](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fabwoj/32/2364_2.png) [@fabwoj](https://discourse.processing.org/u/fabwoj)\
**Post date:** [January 9, 2019, 6:29pm UTC](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685/4 "2019-01-09T18:29:00Z")

</div>

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!
