[Fun with SVGs] EP1: Clean responsive MAPS! Bring every Shape to PowerApps

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 35

  • @PeterHeffner
    @PeterHeffner 4 года назад +1

    Sehr gut erklärt, Robin. Danke fürs Teilen!

    • @R2Power
      @R2Power  4 года назад

      Gerne doch, das eröffnet eine weitere Dimension für PowerApps! Wenn es um Geodaten geht muss immer eine Karte her!

  • @sananthnag
    @sananthnag 4 года назад +2

    Nicely explained 👍

  • @FlorianKx
    @FlorianKx 4 года назад +1

    Awesome usecase for using SVGs.

    • @R2Power
      @R2Power  4 года назад

      Thanks! Combining my two favourites geodata and PowerApps!

  • @daleyon4065
    @daleyon4065 4 года назад +1

    Amazing as always!!

    • @R2Power
      @R2Power  4 года назад

      Thanks a lot!

  • @inspectyourcar3778
    @inspectyourcar3778 Год назад +1

    you are very good at this power apps

  • @giorgiosurian2190
    @giorgiosurian2190 4 года назад +3

    You are my hero! Are you going to show also how to make appear on the map the cities I need?
    I am building an App where, depending on the chosen itinerary, the map whould have different cities and States highlighted. I actually need then to export it in html. I thought this would have been not possible, but you just changed everything. Thank you man!

    • @R2Power
      @R2Power  4 года назад

      Thanks for the kind words.
      There are actually two ways to achieve this.
      First: just draw a circle on the desired location and put a text next to it. Just play around a bit with the coordinates. That one works best if you only have a few cities.
      Second: Also import a shape with the cities and export it to a svg and hope that they use roughly the same coordinate system. If you describe to me which cities and states you need. I'll try to figure it out because I wanted to do a video on that anyway.

    • @giorgiosurian2190
      @giorgiosurian2190 4 года назад +1

      @@R2Power hi and thank you for your suggestions.
      I yet have to come to the point of testing all of this, but if you aim to make a video about it, here is what I have to do.
      Slovenia, Croatia and Montenegro are the states. Cities are many, but lets's say Dubrovnik, Split, Zagreb, Ljubljana, Bled and Kotor.
      What I will need to do is make appear on the map only the cities that are in a Collection I have built in my App. Then I must be able to export the full image (States + selected cities) in an Html file, but these are now further steps... my only concern that HtmlText in Powerapps will not be able to show me all these things as it seems to be limited, but once exported in an Html, it should be right. But you showed me that I can use the Image Media to display it, which makes you a hero again!
      Do not feel I am asking you to do what I wrote, I am just sharing my scenario in case this gives you an idea or two. I will wait for your next videos anxiously!
      Thanks

    • @R2Power
      @R2Power  4 года назад +1

      @@giorgiosurian2190 Christmas may come early for you. I tried everything and it seems to work.
      i.imgur.com/IA9tM0k.gif
      Thanks for the great idea, I'll be making a video soon and I can share the data and MSAPP-file with you if you like.
      Had to do some steps in GIS to get everything together on the same map, but it worked out fine and I learned a lot while playing around with your idea.

    • @R2Power
      @R2Power  4 года назад

      @@giorgiosurian2190 Merry Christmas! Contact me (E-Mail is on the channel) and I'm gonna send you all the files.
      ruclips.net/video/KwVHDxUL6mw/видео.html

    • @giorgiosurian2190
      @giorgiosurian2190 4 года назад

      @@R2Power
      Omg man you are my hero!
      How did you even managed to combine these three countries?
      I am trully shocked!
      I cannot thank you enough.
      Do you have any Patrion that I can support your work??

  • @SantiagoJ-v4m
    @SantiagoJ-v4m 9 месяцев назад +2

    Hi there, thank you very much for this incredible tutorial and your videos. I hope you can point me in the right direction. I have been trying to get the US and Canadian Flags the SVG codes so then I can change the shape background, color. etc. Do you know where I can get it? Thanks in advance for any help. Regards.

    • @R2Power
      @R2Power  9 месяцев назад

      Literally the first thing that popped up, when googling: de.m.wikipedia.org/wiki/Datei:Flag_of_the_United_States.svg

  • @R2Power
    @R2Power  4 года назад

    Hope you have as much fun as me with maps in PowerApps. Stay tuned for more videos!

  • @jrarroyo3320
    @jrarroyo3320 11 месяцев назад +1

    What is the website you used to download the shape files? Thanks for the tutorial, well done!

    • @R2Power
      @R2Power  11 месяцев назад +1

      It's really easy to get Shapefiles (of Germany at least). On ressource with lots of data is ESRI hub.arcgis.com/datasets/ae25571c60d94ce5b7fcbf74e27c00e0/about

    • @jrarroyo3320
      @jrarroyo3320 11 месяцев назад +1

      @@R2Power Thanks again!

  • @Binuh
    @Binuh 3 года назад +1

    Hi there, great video!
    Do you see this being possible with a building floor plan?

    • @R2Power
      @R2Power  3 года назад

      If you can somehow export it to SVG you should be good to go

    • @Binuh
      @Binuh 3 года назад +1

      @@R2Power I got an svg but with so many noise....a lot of paths that dont belong to a shape...that's where I got lost...any ideas?

    • @R2Power
      @R2Power  3 года назад

      @@Binuh send me a copy to robin@r2power.de if it is ok when it's featured in a video

  • @mervemall151
    @mervemall151 2 года назад +1

    Thanks for the video Robin, it was very helpful. I have a question tho. I want to be able to make multiple shapes orange with the gallery being a multiselect combo box. Can you help me with the loops in svg?

    • @R2Power
      @R2Power  2 года назад

      Should be something like this in your Concat() where the color goes:
      If(Identifier in ComboBox.SelectedItems.Identifier, "orange", "gray")

    • @mervemall151
      @mervemall151 2 года назад +1

      @@R2Power I did it with using another table but that is a much better solution. Didn't think you would answer so soon. Thank you!

  • @SwiPowE
    @SwiPowE 4 года назад +1

    Hallo Robin, cooles Feature...bekommt man das auch anders rum hin? Man kann durch den Druck auf die Karte eine Region wählen?

    • @R2Power
      @R2Power  4 года назад +1

      Leider nein... Auf einer normalen Homepage funktioniert das über Javascript, das funktioniert aber in PowerApps nicht.
      Die "einfache" Lösung wäre unsichtbare Buttons drüberzulegen, was aber natürlich nicht sonderlich elegant ist und auch nur bis zu einer gewissen Anzahl praktikabel ist.

  • @gerpera
    @gerpera 3 года назад

    Amazing, Robin! Danke a lot!
    Is there any way of doing the opposite? I mean, showing some info by selecting each state/province on the svg?
    I know it can be done in html, but I just to newby in Power Apps and I couldn't found a way yet.

    • @R2Power
      @R2Power  3 года назад +1

      Not that I'm aware of.
      I'll do a video in the future how to get something similar with invisible buttons, but it won't be the real deal