brh55 / react-native-open-maps

🗺 A simple react-native library to perform cross-platform map actions (Google, Apple, or Yandex Maps)
MIT License
359 stars 47 forks source link

Location name 'Pin' is posible to rename? #17

Closed felipevila closed 6 years ago

felipevila commented 6 years ago

When I open the location based on map coordinates (latitude and longitude) it opens with a default title of 'Pin'. Is it possible to change it?

brh55 commented 6 years ago

@felipevila
Update to the latest version, and use a combination of different parameters to achieve desired result. Be warned this feature only works on Apple, due to differences in the nature of both map platforms.

Apple Maps: If latitude and longitude is provided, this will place a marker with the query as a label. If no latitude or longitude is provided, it will center map to closest query match.