myrjola / neartobeer

Find cheap beers near you
0 stars 0 forks source link

Mysterious marker in upper left corner #14

Closed myrjola closed 7 years ago

myrjola commented 7 years ago

To reproduce:

Works at least on IOS in simulator

  1. Open app in default location in Stockholm center
  2. Click through all the filters
  3. Check the upper left corner, there should be a marker that doesn't move when moving the map

image

Pressing the marker reveals that it is this one:

{
    "post_id": 293,
    "post_title": "Jhonny's American & Italian Restaurant",
    "post_author": 1,
    "post_content": "Stor Stark 48:-",
    "post_category": "Beer under 50",
    "default_category": "Beer under 50",
    "post_tags": "",
    "post_type": "gd_place",
    "post_status": "publish",
    "is_featured": "",
    "geodir_video": "",
    "post_address": "Blackebergsplan 1",
    "post_city": "Stockholm",
    "post_region": "Stockholm County",
    "post_country": "Sweden",
    "post_zip": "168 49",
    "post_latitude": 59.3473438,
    "post_longitude": 17.883359199999973,
    "geodir_timing": "",
    "geodir_contact": "",
    "geodir_email": "",
    "geodir_website": "",
    "geodir_twitter": "",
    "geodir_facebook": "",
    "geodir_special_offers": "",
    "IMAGE": ""
  }

Which happens to be far away near Bromma airport. And indeed zooming out fixes the problem for a while, but zooming back in to stockholm center and clicking the filters reveals the marker again. This is probably a bug in https://github.com/airbnb/react-native-maps. Should make a minimal reproduction and file a bug report. There's already some reports about custom images on markers, so maybe the issue is already reported.

myrjola commented 7 years ago

Found this: https://github.com/airbnb/react-native-maps/issues/499

Seems to be the same error.