Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Sample code Mapview question
Started by lessmsios Jun 06 2016 04:11 PM

3 replies to this topic
mapview location pins
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

lessmsios

[GLOBAL: userInfoPane.html]
lessmsios
  • Contributor

  • 170 posts
  • Corona SDK

Using the MapView sample code from Corona I notice the location pin is a simple pin when "Find Location" (button1Release handler) is touched, yet the pin for "Current Location" has a slightly pulsating location marker with a blue circle around it.

 

If an image file is used for the pin in the "Current Location" handler (button2Release") the image shows but the pulsating marker and blue circle does as well.

 

Is there any way to disable that current location marker?



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,042 posts
  • Enterprise

The blue pulsating dot is where the user is currently located. There is not a way to turn that off (nor would the user want to).

 

Rob



[TOPIC: post.html]
#3

lessmsios

[GLOBAL: userInfoPane.html]
lessmsios
  • Contributor

  • 170 posts
  • Corona SDK

It is a common marker.

 

"nor would the user want to" - in most cases true, but might depend on the purpose of the app. Not a big deal.

 

Follow-up question: Would it be a big issue (relative) to option the location of a custom image pin? Currently it is the bottom-center. An option to set it to the center of the image would be nice - expanding the selection of images (like donuts, center-pointing arrows, target, etc.)



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,042 posts
  • Enterprise

You can put in a feature request for that at https://feedback.coronalabs.com.

 

Rob




[topic_controls]
[/topic_controls]