Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Disable animation for addMarker
Started by Lourenco Jan 22 2017 11:32 AM

2 replies to this topic
[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

Lourenco

[GLOBAL: userInfoPane.html]
Lourenco
  • Contributor

  • 170 posts
  • Corona SDK

Good morning,

 

I am trying to add and remove markers. Is there a way to disable the animation for the map 'addMarker' ?

Thank you.

 

 

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,838 posts
  • Corona Staff

I don't see a way to.

 

Rob



[TOPIC: post.html]
#3

Lourenco

[GLOBAL: userInfoPane.html]
Lourenco
  • Contributor

  • 170 posts
  • Corona SDK

Hello Rob, from Google map api doc :

DROP indicates that the marker should drop from the top of the map to its final location when first placed on the map. Animation will cease once the marker comes to rest and animation will revert to null. This type of animation is usually specified during creation of the Marker.

Seems that corona addmarker is by default using a DROP animation on marker creation.

Can we remove this animation ?


[topic_controls]
[/topic_controls]