Sample code Mapview question

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?

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

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.)

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

Rob

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

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.)

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

Rob