Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

api key for newMapView
Started by davida6 Oct 18 2018 06:42 AM

4 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

davida6

[GLOBAL: userInfoPane.html]
davida6
  • Contributor

  • 129 posts
  • Corona SDK

looking at the choices that google gives for selecting/generating an api key, is there a specific option (ie: static map, embeded, etc) that the newMapVIew needs?    I open a map by lat/lon, drop pins and center the map.  Is this considered a dynamic map or static map.

 

thanks

 

Dave



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,860 posts
  • Corona Staff

I believe you need a Javascript API Key. 

 

https://developers.google.com/maps/documentation/javascript/get-api-key

 

Rob



[TOPIC: post.html]
#3

davida6

[GLOBAL: userInfoPane.html]
davida6
  • Contributor

  • 129 posts
  • Corona SDK

Thanks, Rob.

 

I got that.  When you go there, it offers a series of key types.  I'm trying to figure which to get.  ie: static map, dynamic map, mobile native dynamic , mobile native static, etc)

 

what is the map generated by native.newMapView categorized as.



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,860 posts
  • Corona Staff

After reading some descriptions, I would go with dynamic.

 

Rob



[TOPIC: post.html]
#5

davida6

[GLOBAL: userInfoPane.html]
davida6
  • Contributor

  • 129 posts
  • Corona SDK

thanks, Rob




[topic_controls]
[/topic_controls]