# How to use maps in OS X desktop

**URL:** <https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845>\
**Category:** macOS Desktop\
**Created:** [January 19, 2017, 12:35am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845 "2017-01-19T00:35:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sierramanagement](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/8e7dd6/32.png) [@sierramanagement](https://forums.solar2d.com/u/sierramanagement)\
**Post date:** [January 19, 2017, 12:35am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/1 "2017-01-19T00:35:53Z")

</div>

I am trying to use maps in a cross platform app, works good on mobile devices, maps do not show on mac ox desktop. How can i use maps on a desktop corona app?

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [January 19, 2017, 1:21am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/2 "2017-01-19T01:21:41Z")

</div>

Please link the API docs here for the command you are using so we know what you’re talking about specifically.

What feature on this page? ==\>&nbsp;[https://docs.coronalabs.com/api/index.html](https://docs.coronalabs.com/api/index.html)

[https://docs.coronalabs.com/api/library/native/newMapView.html](https://docs.coronalabs.com/api/library/native/newMapView.html) ??

If so, please read:&nbsp;[https://docs.coronalabs.com/api/library/native/newMapView.html#general](https://docs.coronalabs.com/api/library/native/newMapView.html#general)

If you mean something else, please let us know. &nbsp;Thanks!

PS - If you didn’t already have a specific API feature in mind, then consider Google Services - Maps. &nbsp;You can retrieve a map with this service on any device including desktop. &nbsp;It won’t be interactive, but we’ll need to know more about your usage to help.

---

<div class="post-metadata">

**Author:** ![sierramanagement](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/8e7dd6/32.png) [@sierramanagement](https://forums.solar2d.com/u/sierramanagement)\
**Post date:** [January 19, 2017, 3:09am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/3 "2017-01-19T03:09:05Z")

</div>

> [@roaminggamer](#):
>
> Please link the API docs here for the command you are using so we know what you’re talking about specifically.
> 
> What feature on this page? ==\>&nbsp;[https://docs.coronalabs.com/api/index.html](https://docs.coronalabs.com/api/index.html)
> 
> [https://docs.coronalabs.com/api/library/native/newMapView.html](https://docs.coronalabs.com/api/library/native/newMapView.html) ??
> 
> If so, please read:&nbsp;[https://docs.coronalabs.com/api/library/native/newMapView.html#general](https://docs.coronalabs.com/api/library/native/newMapView.html#general)
> 
> If you mean something else, please let us know. &nbsp;Thanks!
> 
> PS - If you didn’t already have a specific API feature in mind, then consider Google Services - Maps. &nbsp;You can retrieve a map with this service on any device including desktop. &nbsp;It won’t be interactive, but we’ll need to know more about your usage to help.

_&nbsp; &nbsp;– Create a native map view_

_&nbsp; &nbsp; myMap = native.newMapView( 20, 20, screenWidth,screenHeight/2.5 )_

_&nbsp; &nbsp; myMap.x = display.contentCenterX_

_&nbsp; &nbsp; myMap.y = screenTop+myMap.height/2_

_&nbsp; &nbsp; screenGroup:insert(myMap)&nbsp;_

_&nbsp; &nbsp;&nbsp;_

_&nbsp; &nbsp; – Display map as vector drawings of streets (other options are “satellite” and “hybrid”)_

_&nbsp; &nbsp; myMap.mapType = “satellite”_

_&nbsp; &nbsp;&nbsp;_

_&nbsp; &nbsp; – Initialize map to a real location_

_&nbsp; &nbsp; myMap:setCenter( 36.174465, -86.767960 ) --nashville tn._

This is straight from the api , i declare the map (myMap) i need user to be able to request location , map to&nbsp;

scroll to that, further user can request things, (cafe, gas station etc..) program searches database , gets coordinates and drops pin on map for requested place. works great on mobile devices, not OS X..

Thanks in Advance..

Roger

---

<div class="post-metadata">

**Author:** ![Perry\_Clarke](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/bc79bd/32.png) [@Perry\_Clarke](https://forums.solar2d.com/u/Perry_Clarke)\
**Post date:** [January 23, 2017, 11:50pm UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/4 "2017-01-23T23:50:23Z")

</div>

Unfortunately, as the documentation says, this feature is only supported on Android and iOS. &nbsp;You can request the feature [here](http://feedback.coronalabs.com/).

---

<div class="post-metadata">

**Author:** ![sierramanagement](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/8e7dd6/32.png) [@sierramanagement](https://forums.solar2d.com/u/sierramanagement)\
**Post date:** [January 24, 2017, 1:38am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/5 "2017-01-24T01:38:35Z")

</div>

> [@Perry\\\_Clarke](#):
>
> Unfortunately, as the documentation says, this feature is only supported on Android and iOS. &nbsp;You can request the feature [here](http://feedback.coronalabs.com/).

&nbsp;Thanks Perry, Just posted the request..

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [January 19, 2017, 1:21am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/6 "2017-01-19T01:21:41Z")

</div>

Please link the API docs here for the command you are using so we know what you’re talking about specifically.

What feature on this page? ==\>&nbsp;[https://docs.coronalabs.com/api/index.html](https://docs.coronalabs.com/api/index.html)

[https://docs.coronalabs.com/api/library/native/newMapView.html](https://docs.coronalabs.com/api/library/native/newMapView.html) ??

If so, please read:&nbsp;[https://docs.coronalabs.com/api/library/native/newMapView.html#general](https://docs.coronalabs.com/api/library/native/newMapView.html#general)

If you mean something else, please let us know. &nbsp;Thanks!

PS - If you didn’t already have a specific API feature in mind, then consider Google Services - Maps. &nbsp;You can retrieve a map with this service on any device including desktop. &nbsp;It won’t be interactive, but we’ll need to know more about your usage to help.

---

<div class="post-metadata">

**Author:** ![sierramanagement](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/8e7dd6/32.png) [@sierramanagement](https://forums.solar2d.com/u/sierramanagement)\
**Post date:** [January 19, 2017, 3:09am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/7 "2017-01-19T03:09:05Z")

</div>

> [@roaminggamer](#):
>
> Please link the API docs here for the command you are using so we know what you’re talking about specifically.
> 
> What feature on this page? ==\>&nbsp;[https://docs.coronalabs.com/api/index.html](https://docs.coronalabs.com/api/index.html)
> 
> [https://docs.coronalabs.com/api/library/native/newMapView.html](https://docs.coronalabs.com/api/library/native/newMapView.html) ??
> 
> If so, please read:&nbsp;[https://docs.coronalabs.com/api/library/native/newMapView.html#general](https://docs.coronalabs.com/api/library/native/newMapView.html#general)
> 
> If you mean something else, please let us know. &nbsp;Thanks!
> 
> PS - If you didn’t already have a specific API feature in mind, then consider Google Services - Maps. &nbsp;You can retrieve a map with this service on any device including desktop. &nbsp;It won’t be interactive, but we’ll need to know more about your usage to help.

_&nbsp; &nbsp;– Create a native map view_

_&nbsp; &nbsp; myMap = native.newMapView( 20, 20, screenWidth,screenHeight/2.5 )_

_&nbsp; &nbsp; myMap.x = display.contentCenterX_

_&nbsp; &nbsp; myMap.y = screenTop+myMap.height/2_

_&nbsp; &nbsp; screenGroup:insert(myMap)&nbsp;_

_&nbsp; &nbsp;&nbsp;_

_&nbsp; &nbsp; – Display map as vector drawings of streets (other options are “satellite” and “hybrid”)_

_&nbsp; &nbsp; myMap.mapType = “satellite”_

_&nbsp; &nbsp;&nbsp;_

_&nbsp; &nbsp; – Initialize map to a real location_

_&nbsp; &nbsp; myMap:setCenter( 36.174465, -86.767960 ) --nashville tn._

This is straight from the api , i declare the map (myMap) i need user to be able to request location , map to&nbsp;

scroll to that, further user can request things, (cafe, gas station etc..) program searches database , gets coordinates and drops pin on map for requested place. works great on mobile devices, not OS X..

Thanks in Advance..

Roger

---

<div class="post-metadata">

**Author:** ![Perry\_Clarke](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/bc79bd/32.png) [@Perry\_Clarke](https://forums.solar2d.com/u/Perry_Clarke)\
**Post date:** [January 23, 2017, 11:50pm UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/8 "2017-01-23T23:50:23Z")

</div>

Unfortunately, as the documentation says, this feature is only supported on Android and iOS. &nbsp;You can request the feature [here](http://feedback.coronalabs.com/).

---

<div class="post-metadata">

**Author:** ![sierramanagement](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/8e7dd6/32.png) [@sierramanagement](https://forums.solar2d.com/u/sierramanagement)\
**Post date:** [January 24, 2017, 1:38am UTC](https://forums.solar2d.com/t/how-to-use-maps-in-os-x-desktop/342845/9 "2017-01-24T01:38:35Z")

</div>

> [@Perry\\\_Clarke](#):
>
> Unfortunately, as the documentation says, this feature is only supported on Android and iOS. &nbsp;You can request the feature [here](http://feedback.coronalabs.com/).

&nbsp;Thanks Perry, Just posted the request..
