.NET MAUI Maps: A First Look - Pins, Polygons and more!

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • It's finally here! .NET MAUI Maps is making its way into the .NET MAUI codebase so let's have a first look at what it can do. Can you keep a secret? I will also tell you how to get hold of the first bits to try .NET MAUI Maps out yourself... Today!
    💝 Join this channel to get access to perks:
    th-cam.com/channels/ral.html...
    Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
    🛑 Don't forget to subscribe to my channel for more cool content: th-cam.com/users/GeraldVerslui...
    🐦 Follow me on Twitter: / jfversluis
    🤝 Join the Discord server: / discord
    🔗 Links
    Sample Code Repo: github.com/jfversluis/MauiMap...
    .NET MAUI Repo: github.com/dotnet/maui
    .NET MAUI Docs: docs.microsoft.com/dotnet/com...
    ⏱ Timestamps
    00:00 - .NET MAUI Maps
    00:23 - What happened to Maps?
    01:19 - Breaking Changes
    02:27 - Setting up .NET MAUI Maps
    05:46 - Explore Maps APIs
    11:20 - Get Started Yourself Today 🤫
    14:18 - What Happened to Windows?!
    🎥 Video edited with Filmora
    🙋‍♂️ Also find my...
    Blog: blog.verslu.is
    Twitch: / jfversluis
    All the rest: jfversluis.dev
    #dotnetmaui #maps #googlemaps #dotnet6 #maui
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 200

  • @jfversluis
    @jfversluis  ปีที่แล้ว +4

    Right after posting this video I tried a new version of the NuGets and they might already not be compatible anymore with the current .NET MAUI version 😅 so the fun might be over already. Sorry! Then you'll have to wait until .NET 7.
    Here is some .NET MAUI videos to keep you busy in the mean time: th-cam.com/video/ostgj2xB_ok/w-d-xo.html

    • @jvmg
      @jvmg 4 หลายเดือนก่อน

      Thank you for the video. Do you also have one for rendering a custom pin based on a view in ios/apple maps. I have one working for android but can't seem to get ios working.

  • @EmbraceUnity87
    @EmbraceUnity87 ปีที่แล้ว +3

    Super excited about this. Really want the web-based Bing implementation for WinUI, so that we can have something as soon as possible. Since it is already built, it sounds like releasing it to a community toolkit is a great idea.

  • @davefoley5071
    @davefoley5071 ปีที่แล้ว +3

    I am very happy to see the inclusion of a map control. I also use the custom pins, info window when custom pins is tapped. In addition when the map is long tapped I add that GPS point. This control is the single remaining challenge I have to permit me to move my app from Xamarin Forms to Maui.

    •  ปีที่แล้ว

      Yup custom pins are great as well...

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thanks Dave! Make sure to see if there are feature requests for it and if not open them. And either way I'll try to do videos on how to do that :)

  • @gregorymoore2877
    @gregorymoore2877 ปีที่แล้ว +7

    I would like to see a custom pins video. Also, can a subclass of Pin be added to the map?

  • @cizzl3702
    @cizzl3702 ปีที่แล้ว +4

    Omg, finally! Thank you very much for it! I would also love to see windows support

    • @jfversluis
      @jfversluis  ปีที่แล้ว +2

      We’re working on something! Not sure what it will look like though

  • @cizzl3702
    @cizzl3702 ปีที่แล้ว +4

    A video or short example to show this as MVVM would be very cool!

  • @chandra_arifin
    @chandra_arifin ปีที่แล้ว +1

    Really happy to see new videos on MAUI tech 👍👍👍💪

  • @satish8299
    @satish8299 ปีที่แล้ว

    Yes i am interested in the Windows version too, because, i find it more easier to layout in Xaml then in html + blazor. On blazor my experience is you need so much more code behind stuff to achieve things.

  • @albertngoudjou8581
    @albertngoudjou8581 ปีที่แล้ว

    Thank you for all the videos you make to teach us how to develop MAUI apps .
    I have a question: How to change the default sizes (with ,Hight , max Height, minimum height, etc) for the Windows Platform in MAUI ?

  • @DrEnginerd1
    @DrEnginerd1 11 หลายเดือนก่อน

    How do we add pins using the MVVM pattern? Is there a way to create a list of locations in xaml and bind to a source in the viewmodel?

  • @easyidea4307
    @easyidea4307 ปีที่แล้ว

    amazing gerald thank you so much 😍

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      You’re very welcome!

  • @pushanroychowdhury5741
    @pushanroychowdhury5741 ปีที่แล้ว

    @gerald Great video. Thanks a lot. If we click on a pin that was added, can we get a callback for that ?

  • @kaywiberg2159
    @kaywiberg2159 ปีที่แล้ว

    Great video! Keep up the good work!

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thanks Kay! Will do!

  • @anju9278
    @anju9278 ปีที่แล้ว

    Is it possible to highlight different parts on a static image like an image map with image sliced to different parts a and highlight each part dynamically in windows using Maui. Example - highlight different states/ region in an image of a country?

  • @ThaveeshaKannangara
    @ThaveeshaKannangara ปีที่แล้ว

    👍 Good one. waited for maps

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Just a little longer and it will be there! Anything else you’d like to see a video about with maps?

  • @jorgerz239
    @jorgerz239 ปีที่แล้ว

    u rock!!! i love this channel 🙌

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thank you so much! Tell your friends!

  • @josedonizeteoliveirajunior1744
    @josedonizeteoliveirajunior1744 ปีที่แล้ว +6

    It's getting really good! Congratulations. I think a video about custom pins would be cool. Is it also possible to customize the location information by clicking on the pin? Thank you for everything

    • @jfversluis
      @jfversluis  ปีที่แล้ว +3

      Thank you! I don’t think we have some kind of info window built in right now. But that is definitely a good one to think about!

  • @mikey-zk9nd
    @mikey-zk9nd ปีที่แล้ว

    TNice tutorials was great! the way you explain tNice tutorialngs and repeating it really helps. thanks for the tutorial!

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Glad it was helpful!

  • @MuhammadNadeem-wj6xd
    @MuhammadNadeem-wj6xd ปีที่แล้ว

    Very nice @Gerald keep it up

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thank you, will do!

  • @aslamiqbal3435
    @aslamiqbal3435 ปีที่แล้ว

    💓💖. I was dying for this.

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Just in time then! Hope you’re still alive!

    • @aslamiqbal3435
      @aslamiqbal3435 ปีที่แล้ว

      @@jfversluis yeah I'm breathing

  • @ignatiusmaziofa2393
    @ignatiusmaziofa2393 ปีที่แล้ว +1

    Thank you. Is it possible to change the color of the pin?

  • @marcoerlwein2165
    @marcoerlwein2165 ปีที่แล้ว

    thanks for the video, the map control work with maui blazor hybrid ?

  • @SimplyRed2010
    @SimplyRed2010 ปีที่แล้ว

    Hi Gerald, making the same app with Blazor and Maui, how can we do?
    An example would be greatly appreciated :)

  • @christerad1669
    @christerad1669 ปีที่แล้ว +1

    Is there any way to use binding context on the pin?

  • @jacobhamblin1880
    @jacobhamblin1880 ปีที่แล้ว

    Any idea if/when Maui will incorporate 'AnimateCamera'? I would love to be able to have the map stay oriented to the users current heading, but I can't find any way to do this.

  • @senthuranmaxx4895
    @senthuranmaxx4895 ปีที่แล้ว

    Great Video Gerald 🙂. Thanks for that. Can you please tech, how can we navigate from one location to another location(live path navigation)?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Personally I would let apps do that that can probably do it better. With Essentials you can open the default maps app for the device in navigation mode.

  • @EmbraceUnity87
    @EmbraceUnity87 ปีที่แล้ว +1

    One of the main missing features of the old Xamarin.Forms maps was MVVM support. Supporting ICommand for the events and having a SelectedPin bindable property would be a great start towards that. Having something like an overridable PinTemplate which could be hooked to a DataTemplateSelector, for changing the appearance of the pins, would be extra ideal. I was able to use XAML Shapes, with the path data grabbed from free SVGs, as the basis for pins with the Xamarin.Forms.GoogleMaps nuget package... driven entirely by DataTemplateSelectors in the common code.

    • @bbqchickenrobot3
      @bbqchickenrobot3 ปีที่แล้ว

      Cant this be accomplished by using CommunityToolkit.Mvvm ? Haven't used it myself but, thought it may be helpful

    • @EmbraceUnity87
      @EmbraceUnity87 ปีที่แล้ว

      ​@@bbqchickenrobot3 I accomplished this by creating custom platform-agnostic controls that inherit from the MAUI platform-agnostic map and pin. I will post a link to my code.

    • @danailnedkov9561
      @danailnedkov9561 ปีที่แล้ว

      @@EmbraceUnity87 Hey man, my app needs some custom pin functionality and I saw your comment saying you've already implemented something similar. Could you share the code if possible? Thanks

  • @JuanDevelop
    @JuanDevelop ปีที่แล้ว

    This is so EPIC. I just start a new project a this information is so usefull

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Great to hear! Let me know if you need anything!

  • @chdub-vu8vb
    @chdub-vu8vb ปีที่แล้ว

    Thank you very much for these excellents videos !! Have you any news about a Wndows version of a mapping tool ?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thank you! We’re working on it for the .NET MAUI Community Toolkit

  • @weggetor
    @weggetor ปีที่แล้ว +1

    I would be highly interested in a video about creating polygons on the map. Need this for a game I'm working on

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      That's cool, I'll definitely put it on my list. It shouldn't be different than how it works on Xamarin.Forms Maps. So if you need it before my video, look into that! What kind of game are you building?!

  • @strnbrgd
    @strnbrgd ปีที่แล้ว +2

    You said there is an option for custom pins. How? Maps look amazing. great performance

  • @GuildOfCalamity
    @GuildOfCalamity ปีที่แล้ว

    Great video. Could you do a tutorial on AppActions in the future?

  • @S3Kglitches
    @S3Kglitches ปีที่แล้ว

    Windows vesion of the map - our team is definitely interested because if you run 1 app on Windows and Android, it should work everywhere and that is our scenario.

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thanks! I agree, unfortunately there is no WinUI map component though, and looks like they’re not planning on adding one soon. But we’re looking on finding some solution for you :)

  • @MakoMusicYT
    @MakoMusicYT ปีที่แล้ว

    I had to finish a Xamarin Forms app yesterday for my education where I used both Location and Position structs from .Essentials and .Maps.
    It was really annoying that I could not access the user location from the Map itself so this seems like a nice evolution of the control. Is there MapSpan databinding now?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Not much has changed from what was in Forms except for what I mentioned. But we’re open to ideas!

  • @S3Kglitches
    @S3Kglitches ปีที่แล้ว +1

    Is there a possibility for Tag property on Pin to assign custom object as a value which can be then retrieved back from the Pin? This is needed

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      You can always create your own inherited version of Pin :) I don’t think we have anything for that right now

  • @mihailkatsarov3209
    @mihailkatsarov3209 ปีที่แล้ว

    Great Video! Maybe one video about Authorization and authentication with facebook and gmail would be useful too.

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      I’m not great with auth, so not likely soon but who knows :)

  • @danielalbertosanchezsierra2972
    @danielalbertosanchezsierra2972 ปีที่แล้ว

    Thanks!!!!

  • @CSharpAntero
    @CSharpAntero ปีที่แล้ว

    Thanks Gerald , great video. Do you know, if there is for Maui Map an MVVM support planned?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      What kind of MVVM support are you looking for?

    • @CSharpAntero
      @CSharpAntero ปีที่แล้ว

      @@jfversluis Drawing a route, setting pins and polygons

  • @Dimitris.Christoforidis
    @Dimitris.Christoforidis ปีที่แล้ว

    Thank you Gerald once again for your helpful videos. Is it possible to have google maps in Iphone? Maybe using an external library?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +2

      You’re going to have to find a plug-in for that. It’s not going to be possible with the official Maps

    • @Dimitris.Christoforidis
      @Dimitris.Christoforidis ปีที่แล้ว +1

      @@jfversluis Thank you. PLease keep us inform if you find something!

  • @Eric-pl7pz
    @Eric-pl7pz ปีที่แล้ว +2

    I followed the steps to create an API key in the Google API console with no restrictions. It only displays a blank map even with the proper key embedded. Has anyone else found this to be an issue?

    • @PavelKonoshchenko
      @PavelKonoshchenko 8 หลายเดือนก่อน

      same to me. have you found the fix?

  • @harag9
    @harag9 ปีที่แล้ว

    Looking good. thanks for sharing - can it also show routes between 2 locations?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      If you mean turn-by-turn navigation then no. I guess you can implement showing something like that but you don’t have the 3D view.

    • @harag9
      @harag9 ปีที่แล้ว

      @@jfversluis OK thanks for that. wasn't sure how much functionality it has.

  • @anandshindey
    @anandshindey ปีที่แล้ว

    Cool video, thanks. Would I be able to find things like nearest airport from a location on the maps? Is there an API or feature?

    • @cizzl3702
      @cizzl3702 ปีที่แล้ว +1

      I think you can do this with Google places API

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Indeed, you will need to use another API for that. This is just showing a map

  • @checox1909
    @checox1909 ปีที่แล้ว

    Great video man, like always, now I can do my post XD hahahahahahaha

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Haha absolutely! Looking forward to it! Thanks my friend!

  • @laurolnunes
    @laurolnunes ปีที่แล้ว

    Is there a way to pin my localization together with a list of other places, like restaurants or stores? Like Google Maps does when you look for something

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Sure, but that is something you’ll need to implement

  • @mister_stadler
    @mister_stadler ปีที่แล้ว

    thanks

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thanks for watching!

  • @guywangueu9817
    @guywangueu9817 ปีที่แล้ว

    Thanks Gerald , but I have a question, how can I change pin 📍 image for android and iOS in xamarin forms?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      This is probably helpful: docs.microsoft.com/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map-pin

  • @TheSasanpasha
    @TheSasanpasha ปีที่แล้ว

    can you please support custom pins ( label, position, color, address, ImageSource, and infowindow , etc.) themes, ?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Not in the first version, but hoping we can add more features later! Of course anything is customizable through custom handlers and such.

  • @Mielesplayz
    @Mielesplayz ปีที่แล้ว

    Is it possible to resize text to fit a label, even after rotating your phone?
    (I know this has nothing to do with the video, but im trying to do that)

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      I would think it should do that automatically.

    • @Mielesplayz
      @Mielesplayz ปีที่แล้ว

      @@jfversluis I guess I messed something up then

  • @yosimadsu2189
    @yosimadsu2189 ปีที่แล้ว +2

    Would you please show us how to use BLE in .NET MAUI? Because this is the only feature that is not implemented in MAUI.

    • @johnb2572
      @johnb2572 ปีที่แล้ว +1

      I would like that too

  • @niharikasaraswat2181
    @niharikasaraswat2181 ปีที่แล้ว

    Can we restrict keyboard entry to one language only like in English and user can't type in any other language in xamarin

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Not that I know of

  • @woistdasniveau8290
    @woistdasniveau8290 ปีที่แล้ว

    Please tell me, that it is easier now to center rthe map around the users position and keep it centered.

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Don’t think we made any improvements there yet, but I’d love to hear what you’re struggling with and see if we can make it better

    • @woistdasniveau8290
      @woistdasniveau8290 ปีที่แล้ว

      @@jfversluis It is really annoying in my opinion that you have the native functionality to display where you are ad that this gets updated everytime you move. But that there is no IsCentered option or anythign which keeps you cnetered around this point. Even though you already have a functionalitsy which gets your coordinatesy you have to write your own paltform specific thing that gets you your coordinates and set them manually on the map. This seems really unintuitive for me. If jhere is already something which gets my coordinates and displays me on the map why can't i just adress this to center the map around it? Isn't this kind of the standard functionality you want from a map to keep it centered around your position while moving?

  • @wasimalam7677
    @wasimalam7677 ปีที่แล้ว

    I wait your all videos related to .MAUI

  • @Xrail
    @Xrail ปีที่แล้ว

    Great Video, thank you. Is it possible to set the api-key at runtime? Normaly each of our customer has his own api-key if he want to use such a feature. It would be set with the login of the user.

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      I would think so normally. But it might be harder now because UseMauiMaps throws an exception if it doesn’t find the key. I guess one way around that is to add a dummy key in the manifest and find a way to set the API key at runtime

    • @doublebass120
      @doublebass120 ปีที่แล้ว

      @@jfversluis does it also test whether the key is valid, or can we just use any value?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      This just checks if a value is present. If the api key is invalid no map is shown and an error appears in the application output.

    • @Xrail
      @Xrail ปีที่แล้ว +1

      Ok, i Keeper that Info in the back of my mind. Iam gonna wait for the net7 Release an then play with it a little. Thanks

  • @mugileeshwaranj.s8484
    @mugileeshwaranj.s8484 8 หลายเดือนก่อน

    Hi, I'm using MAUI Maps, Currently the existing google API, Key is working on lower version of Andriod, but the same API Key is showing blank map on Android 12 and 13, Any idea how to solve this?

  • @teeel390
    @teeel390 ปีที่แล้ว

    Hi, how can I display a route between 2 locations on the Map?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      You probably want to use polylines: learn.microsoft.com/dotnet/maui/user-interface/controls/map?view=net-maui-7.0#polygons-polylines-and-circles

  • @b60977
    @b60977 ปีที่แล้ว

    Does anyone know hot to visulize a heatmap on an ArcGis map with .NET MAUI?

  • @billymartin6497
    @billymartin6497 ปีที่แล้ว

    Great tutorial, Gerald. I'm getting this error:
    System.MissingMethodException
    Message=Method not found: bool Microsoft.Maui.Devices.Sensors.Location.op_Inequality(Microsoft.Maui.Devices.Sensors.Location,Microsoft.Maui.Devices.Sensors.Location)

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Yeah soon after I released the video that happened with the NuGets on Android at least. I think iOS is still working. Means that the NuGet is now incompatible with the current public .NET MAUI version so either download all the code from main and run with that, but probably better to wait until we publish something on NuGet

  • @kardelencanoglu1353
    @kardelencanoglu1353 ปีที่แล้ว

    The video is great. Can you make a video for 3D model integration with MAUI?

    • @kardelencanoglu1353
      @kardelencanoglu1353 ปีที่แล้ว

      Or can I embed Unity in MAUI?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      I have 0 experience with that, so probably not anytime soon. Sorry 😅

    • @kardelencanoglu1353
      @kardelencanoglu1353 ปีที่แล้ว

      @@jfversluis No probem. I hope you want to try it one day 😂😂😂

  •  ปีที่แล้ว

    What I really need is access to bluetooth events from MAUI... with the latest version I still have to code that separately for each platform!!

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      .NET MAUI is primarily a UI framework, so that’s where the focus is.

    •  ปีที่แล้ว

      @@jfversluis well if you can get location, it would be good as well to scan or react to bt devices

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Bluetooth is a lot harder than locations. If you know a bit about the history then you know that the locations came in with Essentials. However, like unsaid, .NET MAUI is still primarily a UI framework and there is still a lot of work to be done there. Not saying it’s never going to happen, but I don’t think anytime soon and there are great plugins that can help you with this.

    •  ปีที่แล้ว

      @@jfversluis ok... I guess I'll have to stick to 3rd parties until then... ;)

  • @bodyavl
    @bodyavl ปีที่แล้ว

    Is there any way to display route from point A to point B on this map?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      You could with polylines I guess.

    • @bodyavl
      @bodyavl ปีที่แล้ว

      ​@@jfversluis Yeah, that makes sence, thank you

  • @charlesdavidyoung
    @charlesdavidyoung ปีที่แล้ว

    I am working with .NET MAUI in .NET 7 Release Candidate 1 and have converted my Xamarin map code to this latest Map. It works great, except for Windows, or course. So, yes, I would certainly like the Windows version of my app to work the same as iPhone, Android, and MacCatalyst. Another thing I am trying to do is recenter the map without changing the MapSpan. In other words, if the user has zoomed in I would like to maintain that zoom even when the map is recentered. There does not seem to be an option for that, although I am thinking about detecting the click and keeping track of the zoom so that I can restore it when I recenter. Please let me know if there is a simpler way to do this. Thanks!

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Hey there! We're working on the Maps for Windows right now in the .NET MAUI Community Toolkit.
      As for the other thing, that might be a nice addition that we can add!

    • @charlesdavidyoung
      @charlesdavidyoung ปีที่แล้ว

      @@jfversluis thanks Gerald! I guess I’ll wait for the recenter feature then. It should be very easy to add.

  • @stijnvanhoecke4753
    @stijnvanhoecke4753 ปีที่แล้ว

    I believe if MAUI supports Windows, its individual components/extensions should as well. What use is having a component that only works on a subset of devices? I wouldn't call it complete without windows support...

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      The problem is that .NET MAUI only exists at the grace of what we’re building on top of. Android has a component that provides a map, iOS has a component that provides a map, WinUI does not.

    • @stijnvanhoecke4753
      @stijnvanhoecke4753 ปีที่แล้ว

      Then maybe WinUI should 😉 would be beneficial for everyone around the table... I mean if MS ever want their "desktop apps" to get off the ground and compete with PWAs they should provide enough features for it.

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      @@stijnvanhoecke4753 tell that to them! It was on the roadmap but they took it off. So apparently not a lot of people are asking for it 🤷‍♂️

  • @yanaraldaghestani6305
    @yanaraldaghestani6305 ปีที่แล้ว

    is there any way to run google map on android and ios ?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      No and that probably won’t be supported. If you need that, a plug-in needs to be created.

  • @titolmtv1206
    @titolmtv1206 ปีที่แล้ว

    How about .net maui push notifications? I think that is important feature as well.

  • @marketdevsoft4403
    @marketdevsoft4403 ปีที่แล้ว

    When i try to insert map in my .net maui project following this good video, i have this exception:
    Microsoft.Maui.Platform.HandlerNotFoundException: 'Handler not found for view Microsoft.Maui.Controls.Maps.Map.'
    Can someone help me to resolve ?
    Best Regards.
    Raffo

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Make sure that you add the initialization line in your MauiProgram.cs

  • @user-ov2sw9nu6t
    @user-ov2sw9nu6t ปีที่แล้ว +1

    Is it free to use? Don't you have to pay for it after "x" map renders?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Not for iOS, I’m not sure how the Android/Google Maps pricing works tbh

  • @markusf.meisinger5832
    @markusf.meisinger5832 ปีที่แล้ว

    is there a way to use the map data offline?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Unfortunately not!

    • @markusf.meisinger5832
      @markusf.meisinger5832 ปีที่แล้ว

      @@jfversluis Hello Gerald, like your informative and helpful videos a lot. Thanks for immediate reply. Keep on your great work! Any suggestions of (xamarin/3rd party) controls capable of offline maps? I need it for out in the wilderness without mobile data available

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Try MapsUI: github.com/Mapsui/Mapsui
      And thank you Markus!

  • @samsman007
    @samsman007 2 หลายเดือนก่อน

    Can it run on Windows Machine?

    • @jfversluis
      @jfversluis  2 หลายเดือนก่อน

      If you install the .NET MAUI Community Toolkit, yes
      Maps Control for Windows with .NET MAUI and Bing Maps
      th-cam.com/video/G3fIVJGabUQ/w-d-xo.html

  • @itsmejim3033
    @itsmejim3033 ปีที่แล้ว

    For the life of me i can't seem to find the nuget packages, Can u please send me the ones u used in this project. or just send me the azure dev link

  • @ducvunguyen5607
    @ducvunguyen5607 3 หลายเดือนก่อน

    my project have 1000 pins, I am using your solution but it loads too slow, even the phone freezes. Any idea how to solve this?

    • @jfversluis
      @jfversluis  3 หลายเดือนก่อน

      Only show pins that are actually in view and group them when zoomed out

    • @ducvunguyen5607
      @ducvunguyen5607 3 หลายเดือนก่อน

      @@jfversluis is there any example for it? It worked well with Xamarin but when change to MAUI, it is too slow

    • @ducvunguyen5607
      @ducvunguyen5607 3 หลายเดือนก่อน

      @@jfversluis Is there an event when it be zoom out?

  • @oj3486
    @oj3486 ปีที่แล้ว

    Didn‘t you already use the default map in Episode 6 of the crash course?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Not that I know of. Do you mean the little map that is in the Android emulator settings?

    • @oj3486
      @oj3486 ปีที่แล้ว

      @@jfversluis in the find closest monkey part you are using a map (even though the map did not completely load, it opened the platform specific default map)

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      @@oj3486 Ooh gotcha! Yeah so that opens the default maps application on the device. .NET MAUI Maps can show a map inside of your own app. That's the difference :)

    • @oj3486
      @oj3486 ปีที่แล้ว

      @@jfversluis Ah okay. Thanks for clarifying :)

    • @harag9
      @harag9 ปีที่แล้ว

      @@jfversluis Thanks for clarifying this, I was going to ask the same question as I just done James course on the monkey finder, though the maps didn't load properly.

  • @ABS-CBN-w1l
    @ABS-CBN-w1l ปีที่แล้ว

    Is it ok to use it in production?

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      Not yet! Will be released with .NET 7 as stable

    • @ABS-CBN-w1l
      @ABS-CBN-w1l ปีที่แล้ว

      @@jfversluis Thanks for the info.

  • @LinesSoftwareDevelopment
    @LinesSoftwareDevelopment ปีที่แล้ว +1

    Yes, yes, windows version please

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      We're working on it here: github.com/CommunityToolkit/Maui/pull/604

  • @RajK09
    @RajK09 ปีที่แล้ว

    Hi Gerald, I cloned your repo and when I run the app, I'm facing this issue
    Microsoft.Maui.Platform.HandlerNotFoundException Message=Handler not found for view Microsoft.Maui.Controls.Maps.Map.
    I'm using VS 2022 17.4. Any help on this please?

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Try upgrading the plug-in. The Maps NuGet is released officially by now so install it from NuGet.
      Also, doesn’t work on Windows!

    • @RajK09
      @RajK09 ปีที่แล้ว

      @@jfversluis yeah I did update from Nugent itself and I'm running on Android. The map control is showing blank

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      For Android you need an API key as well. And add UseMauiMaps in your MauiProgram

    • @RajK09
      @RajK09 ปีที่แล้ว

      @@jfversluis yes Gerald, I used an API key and configured .UseMauiMaps() in MauiProgram too. But maps are not loading

  • @hrishikeshgarud7177
    @hrishikeshgarud7177 ปีที่แล้ว +2

    Custom pins video.

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      No please?

    • @Urakaroo
      @Urakaroo ปีที่แล้ว +1

      @@jfversluis +1 to please make a video on custom pins ^_^

  • @amnshumansunil3371
    @amnshumansunil3371 ปีที่แล้ว

    Video on in app update in Xamarin please!

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      I’m pretty sure I’m not going to make that one, sorry

    • @amnshumansunil3371
      @amnshumansunil3371 ปีที่แล้ว

      @@jfversluis thanks anyway!

  • @davidjackson148
    @davidjackson148 2 หลายเดือนก่อน

    Is maps still not natively available in Maui? Whats going on. Maui is a good fiew years old now and Maps I would wager are an essential developer feature.

    • @jfversluis
      @jfversluis  2 หลายเดือนก่อน

      It is available?

    • @davidjackson148
      @davidjackson148 2 หลายเดือนก่อน

      @@jfversluis Can you repost the details or do an updated tutorial please because your previous ones don't work. I followed the tutorials to the letter and got this 'Unable to convert Microsoft.Maui.Controls.Maps.Map to Android.Views.View' :(

    • @jfversluis
      @jfversluis  2 หลายเดือนก่อน

      @@davidjackson148 Did you check the official documentation?

    • @davidjackson148
      @davidjackson148 2 หลายเดือนก่อน

      @@jfversluis do you have a link please :)

    • @jfversluis
      @jfversluis  2 หลายเดือนก่อน

      @@davidjackson148 Links are always provided in the video description.
      learn.microsoft.com/dotnet/maui/user-interface/controls/map

  • @obioriaku9736
    @obioriaku9736 ปีที่แล้ว

    Congrats Gerald. I like some of the tricks and tips that you post on your channels. Please how can I do styling for maui as xamarin.forms.googlemaps which has the MapStyle. I tried creating a bindable property but that didn't help. Can you give me some tips. Thanks

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thank you! That is not possible with this package. Looks like this is a MAUI compatible version of that package that you might want to use: github.com/themronion/Maui.GoogleMaps

  • @thiagooliveira4192
    @thiagooliveira4192 ปีที่แล้ว

    I Love ur channel

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      Thank you Thiago 🥰

  • @francescp.4778
    @francescp.4778 ปีที่แล้ว

    How i remove the + & - zoom buttons but map remaining zoomable?, thank you!
    VS2022 .NEt7

  • @PavelKonoshchenko
    @PavelKonoshchenko 8 หลายเดือนก่อน

    I have created maps API and put it in your code in android manifest file. . The App crashes on start. I dont know why. Seems API KEY is OK. What can be the problem?

  • @Paul-uo9sv
    @Paul-uo9sv ปีที่แล้ว

    Pintype didn't change on my android map. Event after rebuild. Really weird...

    • @jfversluis
      @jfversluis  ปีที่แล้ว +1

      I think pin type only has effect on iOS and maybe not even anymore on recent iOS versions. Maybe time to deprecate it 😄

    • @Paul-uo9sv
      @Paul-uo9sv 8 หลายเดือนก่อน

      ok

  • @fabioikomotta
    @fabioikomotta ปีที่แล้ว

    Error starting app: Microsoft.Maui.Platform.HandlerNotFoundException: 'Handler not found for view Microsoft.Maui.Controls.Maps.Map.'

    • @jfversluis
      @jfversluis  ปีที่แล้ว

      I’m guessing you’re trying to use it on Windows which is not supported. That is coming to the .NET MAUI Community Toolkit soon

    • @fabioikomotta
      @fabioikomotta ปีที่แล้ว

      @@jfversluis Ok... i did it...but using your sample, the map show just the buttons not the map. in Android emulator and device the result is the same...

  • @PavelKonoshchenko
    @PavelKonoshchenko 8 หลายเดือนก่อน

    Microsoft.Maui.Platform.HandlerNotFoundException: 'Handler not found for view Microsoft.Maui.Controls.Maps.Map.'

    • @jfversluis
      @jfversluis  8 หลายเดือนก่อน +1

      That's probably on Windows, for Windows you need the .NET MAUI Community Toolkit. th-cam.com/video/G3fIVJGabUQ/w-d-xo.html