from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy_garden.mapview import MapView, MapSource, MapMarker


class MapMainApp(App):

    def build(self):
        box_layout = BoxLayout()
        map_view = MapView(lat=50.3, lon=3.05, zoom=12)
        map_view.map_source = 'osm'
        map_marker = MapMarker()
        map_marker.lat = 50.3
        map_marker.lon = 3.05
        map_marker.source="marker.png"
        map_view.add_widget(map_marker)
        box_layout.add_widget(map_view)
        return box_layout

if __name__== '__main__':
    MapMainApp().run()