# MapView initialize in fuse app

**URL:** <https://forums.fusetools.com/t/mapview-initialize-in-fuse-app/7766>\
**Category:** How-to Discussions\
**Created:** [June 6, 2019, 8:34am UTC](https://forums.fusetools.com/t/mapview-initialize-in-fuse-app/7766 "2019-06-06T08:34:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dedli](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dedli](https://forums.fusetools.com/u/dedli)\
**Post date:** [June 6, 2019, 8:34am UTC](https://forums.fusetools.com/t/mapview-initialize-in-fuse-app/7766/1 "2019-06-06T08:34:16Z")

</div>

Hello everyone! I am begginer in fuse and mobile development. I develop my first application using fuse. It is real fantastik tool! I want to inicialize map in my app. In my project file i put this:  
{  
“Packages”: [  
“Fuse.Maps”,  
“Fuse”,  
“FuseJS”  
],  
“Includes”: [  
“_",  
"Modules/_.js:Bundle”  
],  
“Android”: {  
“Geo”: {  
“ApiKey”: “my\_key”  
}  
}  
}  
In the area where map should show I put this code:  
Page ux:Class=“Location”  
Router ux:Dependency=“router”  
JavaScript File=“SettingsDetails.js”  
DockPanel  
MapView Latitude=“59.911567” Longitude=“10.741030” Zoom=“10”  
MapMarker Latitude=“59.911567” Longitude=“10.741030” Label=“Fuse HQ”  
MapView

DockPanel  
Page  
But instead map i see MapView requires a mobile target. What should i do to see map in fuse tool?

---

<div class="post-metadata">

**Author:** ![Hassan\_M](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/hassan_m/32/957_2.png) [@Hassan\_M](https://forums.fusetools.com/u/Hassan_M)\
**Post date:** [June 6, 2019, 11:36am UTC](https://forums.fusetools.com/t/mapview-initialize-in-fuse-app/7766/2 "2019-06-06T11:36:16Z")

</div>

Hello Dedli, welcome to Fuse Community.

MapView is a Native Component, so it won’t be visible using Desktop Preview, you have to run it directly on the device. More info [here](https://fuseopen.com/docs/basics/preview-and-export.html) on how you can preview your app on the device.

And don’t forget you have to wrap the `MapView` component inside `NativeViewHost` Tag

---

<div class="post-metadata">

**Author:** ![dedli](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dedli](https://forums.fusetools.com/u/dedli)\
**Post date:** [June 6, 2019, 1:32pm UTC](https://forums.fusetools.com/t/mapview-initialize-in-fuse-app/7766/3 "2019-06-06T13:32:51Z")

</div>

Thanks a lot for your time!
