basemap mit Vaadin verknüpfen

Das Projekt ist eine auf amtlichen Geodaten basierende Grundkarte von Österreich die frei verfügbar ist und von den Bundesländern und einigen weiteren Partner erstellt und gewartet wird. Möchte man die Basemap mit dem Web Framework Vaadin verknüpfen geht das dank des Leaflet Vaadin Addons sehr einfach.

Zuerst fügt man das Vaadin Leaflet Addon als Abhängigkeit zur pom.xml des Projekts hinzu (nicht vergessen, Widgetset neukompilieren!):


Anschließend erstellt man sich einen Kartenprovider für der mit Leaflet verwendet werden kann. Dazu legt man eine neue Java-Klasse zB:

import org.vaadin.addon.leaflet.LTileLayer;
public class BasemapMapLayer extends LTileLayer {

  public BasemapMapLayer() {
    setAttributionString("Karte: <a href=\"\" target=\"_blank\">"
+ "</a>, <a href=\"\" " + "target=\"_blank\">CC-BY 3.0</a>"); setMinZoom(1); setMaxZoom(18); setTms(false); setSubDomains("maps", "maps1", "maps2", "maps3"); setContinuousWorld(false); setNoWrap(false); } }

Der nun erstellte MapLayer kann auch schon direkt verwendet werden zB so:

LMap map = new LMap();
map.addBaseLayer(new BasemapMapLayer(), "");
map.setCenter(48.210033, 16.363449);

Das wars auch schon wieder. Jetzt fehlt mir nur noch ein guter (freier) Geocoder für Österreich und schon kann man schöne kartenbasierte Webanwendungen für Österreich schreiben. Jemand einen Tipp?

  1. Groß sagt:

    Hochwertige Waren vom Produzent. Fabrikverkauf. Versand am gleichen Tag. Bis 95 % günstiger als auf dem Markt.

    Müllsäcke Alle, Sandsäcke, Raschelsäcke, Spänesäcke,

    Kartonage, Luftpolstertaschen, Maxibrief,

    Abdeckplane, Abdeckfolie, Baufolie,

    Alufolie – Frischhaltefolie, Alu Klebeband – Aluband,

    Abklebeband, Malerkrepp, Klebeband mit Folie, Malerkrepp mit Folie,

    Antirutsch Streifen, Klebebänder Alle, Gewebeband, Papierklebeband,

    Ddoppelseitiges Klebeband, Schaumklebeband, Reflektorband, Absperrband,

    Kantenschutz, Kantenschutzprofil, Abdeckhaube, Palettenhaube,

    Reifentüten, Umzugsdecken, Möbeldecken,

    Alles für Umreifung, Umreifungsband, Haspelspanner, Klemmen,

    Stretchfolie, Handstretchfolie, Maschinenstretchfolie

    Unkrautvlies, Malervlies, Renoviervlies,

    Luftpolsterfolie, Alu Luftpolsterfolie, Schaumfolie, Alu Schaumfolie,

    Sichtschutz, Sonnenschutz, Windschutz,

    Glasschutzfolie, Fensterschutzfolie,

    Katzenstreu alle Sorten, Arbeitshandschuhe und Vieles mehr


  2. SantosDoump sagt: cost of generic zithromax
    generic zithromax online paypal

  3. SantosDoump sagt: zithromax for sale 500 mg
    where can i buy zithromax medicine

  4. BillyJab sagt:

    clindamycin generic: buy clindamycin generic
    floxin price

  5. MichaelNum sagt:

    buy prescriptions from india pharmacy: cheap online pharmacies from india usa pharmacy india

  6. MichaelNum sagt:

    best online international pharmacies india: india pharmacy all generic meds from india

  7. RobertRon sagt:

    erectile pills canada: order erectile dysfunction pills online

  8. RobertRon sagt:

    cialis ed pills: pills for erectile dysfunction

  9. RobertRon sagt:

    viagra pills: buy erectile dysfunction pills online

  10. Michaelautok sagt:

    generic name for viagra: viagra without a doctor prescription usa viagra without a prescription

  11. Michaelautok sagt:

    viagra walmart: non prescription viagra viagra online no prescription

  12. Claudguept sagt:

    100mg doxycycline: doxycycline mono – order doxycycline online

  13. Claudguept sagt:

    diflucan pills: diflucan 150mg prescription – diflucan 150 tab

  14. Vince Moten sagt:

    My partner and I stumbled over here by a different website and thought I might as well check things out. I like what I see so now i’m following you. Look forward to exploring your web page yet again.

  15. Claudguept sagt:

    amoxicillin 500 mg capsule: cheap amoxicillin – amoxicillin price canada

  16. Claudguept sagt:

    amoxicillin 500 mg without a prescription: canadian pharmacy amoxicillin – order amoxicillin online

  17. Great website. Lots of helpful information here.
    I’m sending it to a few friends ans additionally sharing in delicious.
    And certainly, thanks for your sweat!

  18. CharlesSoync sagt:

    buy valtrex tablets: buy valtrex – valtrex price without insurance
    valtrex over the counter canada

  19. You’ve made some good points there. I checked on the internet to learn more about
    the issue and found most people will go along with your views on this
    web site.

  20. Now I am going to do my breakfast, once having
    my breakfast coming yet again to read more news.

  21. CharlesSoync sagt:

    tadalafil 20mg: tadalafil online – tadalafil online
    where to get valtrex prescription

  22. I’m amazed, I must say. Rarely do I encounter a blog that’s both equally educative and engaging, and without a doubt, you’ve hit the nail on the head.
    The problem is something too few people are speaking intelligently about.
    I’m very happy I stumbled across this during my search for
    something regarding this.

  23. CharlesSoync sagt:

    how to get valtrex over the counter: valtrex online pharmacy india – buy valtrex
    valtrex no prescription price

  24. Hi there, its good paragraph about media print, we all be aware of
    media is a fantastic source of information.

  25. CharlesSoync sagt:

    order tadalafil: tadalafil 20mg best price – tadalafil india pharmacy
    generic valtrex sale

  26. Howdy very nice website!! Man .. Beautiful .. Wonderful .. I will bookmark your
    site and take the feeds also? I am happy to seek out a lot of
    useful information right here within the submit, we want work out more techniques on this regard, thanks for
    sharing. . . . . .

  27. Yes! Finally something about instagram takipçi satın al.

  28. Hello, this weekend is pleasant in support of me, since
    this time i am reading this wonderful educational piece of writing
    here at my house.

  29. CharlesSoync sagt:

    ventolin price: ventolin – ventolin rx
    valtrex no prescription

  30. DonaldEropy sagt:

    best ed drugs: ed drugs – compare ed drugs
    the best ed pills

  31. DonaldEropy sagt:

    cures for ed: erectile dysfunction medications – male ed drugs
    best pills for ed

  32. Saved as a favorite, I like your site!

  33. MichaelChaix sagt:

    canadianpharmacymeds com – compare pharmacy prices canada pharmacy reviews or legit canadian pharmacy

  34. Hey would you mind stating which blog platform you’re using?
    I’m planning to start my own blog soon but I’m having a hard
    time selecting between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique.
    P.S Sorry for getting off-topic but I had to ask!

  35. I’m really enjoying the design and layout of your blog. It’s a
    very easy on the eyes which makes it much more enjoyable
    for me to come here and visit more often. Did you hire out a designer to create your theme?
    Fantastic work!

  36. Everyone loves what you guys are usually up too.
    This type of clever work and reporting! Keep up the amazing works guys I’ve added you
    guys to our blogroll.

  37. Every weekend i used to visit this website, as i want enjoyment,
    since this this website conations in fact fastidious funny stuff too.

  38. Thank you for some other informative website. Where else may just I am getting
    that kind of info written in such a perfect approach?
    I’ve a undertaking that I am simply now working on, and I have been at the glance out for such information.

  39. magnificent submit, very informative. I’m wondering why the other experts
    of this sector do not realize this. You must continue your writing.
    I’m confident, you have a huge readers‘ base already!

  40. MichaelChaix sagt:

    canadian pharmacy king – ed drugs northwestpharmacy or maple leaf pharmacy in canada

  41. Lucoil sagt:

    This phrase was said by the first cosmonaut on Earth – Yuri Gagarin. (Yuri Gagarin)
    He was the first astronaut on Earth. He was Russian! …
    Now Russia is becoming a strong country, gas pipelines, a vaccine against COVID-19, an army.
    Is this very reminiscent of the communist Soviet Union?
    How do you think?
    Now we have total control in our country. I am interested in the opinion of foreigners.



  42. Saved as a favorite, I like your web site!

  43. I read this article fully regarding the comparison of most up-to-date and previous technologies, it’s remarkable

  44. It’s an remarkable post in favor of all the internet viewers; they will take advantage from it I am sure.

  45. Way cool! Some extremely valid points! I appreciate you penning this article and also the rest
    of the website is extremely good.

  46. Lucow sagt:

    This phrase was said by the first cosmonaut on Earth – Yuri Gagarin. (Yuri Gagarin)
    He was the first astronaut on Earth. He was Russian! …
    Now Russia is becoming a strong country, gas pipelines, a vaccine against COVID-19, an army.
    Is this very reminiscent of the communist Soviet Union?
    How do you think?
    Now we have total control in our country. I am interested in the opinion of foreigners.



  47. Petermoirm sagt:

    buy cialis very cheap prices fast delivery buy cialis tadalafil0 with pay pal – generic cialis canadian
    buy cialis online viagra

  48. Hey! I’m at work surfing around your blog from my new iphone 3gs!

    Just wanted to say I love reading through your blog and look forward to
    all your posts! Carry on the fantastic work!

  49. I have been exploring for a little bit for any high-quality articles or weblog
    posts in this sort of area . Exploring in Yahoo I ultimately stumbled upon this
    web site. Reading this info So i’m glad to convey
    that I’ve an incredibly good uncanny feeling I came upon exactly what I needed.
    I so much indubitably will make sure to don?t forget this site and provides it a glance regularly.

  50. Petermoirm sagt:

    buy cialis in miami cialis 20mg for sale – buy cialis shipping canada
    buy cialis online at lowest price

  51. This web site truly has all the information I wanted concerning this subject and didn’t know who to ask.

  52. Ko Cuce sagt:

    Your means of explaining the whole thing in this article is in fact nice,
    every one be able to effortlessly understand it,
    Thanks a lot.

  53. Ggxrqx sagt:

    ivermectin pills canada – ivermectin 0.5% lotion stromectol generic

  54. php shell sagt:

    Your style is very unique compared to other folks I have read stuff from.

    Many thanks for posting when you have the opportunity, Guess I will just book
    mark this web site.

  55. Hey there! I’ve been reading your weblog for a long time now and finally got the courage to
    go ahead and give you a shout out from Huffman Texas!
    Just wanted to tell you keep up the good work!

  56. Every weekend i used to visit this website, for the reason that i want
    enjoyment, as this this web page conations actually nice
    funny stuff too.

  57. It’s a pity you don’t have a donate button! I’d definitely donate to
    this superb blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google
    account. I look forward to fresh updates and will talk about this blog with my Facebook group.
    Chat soon!

  58. Ehsbuj sagt:

    stromectol tablets 3 mg – ivermectine ivermectin human

  59. takipçi sagt:

    Hello, this weekend is good in support of me, because this time i am reading this
    enormous informative paragraph here at my house.

  60. viagra sales viagra for sale on amazon best prices for viagra 100mg

  61. cialis before and after cialis lowest price cialis price at walmart

  62. sildenafil for dogs sildenafil generic viagra effects

  63. cialis information tadalafil 5mg generic cialis free trial every 12 months

  64. Robert Vogel sagt:

    canadian cialis without a doctor prescription cialis free trial offer cialis cost at walmart

  65. which is better viagra or cialis cialis samples request canada cialis

  66. generic viagra viagra gold 800 mg for hims sildenafil reviews and complaints

  67. viagra without a perscription how to make viagra at home natural viagra substitute

  68. Joe Kelly sagt:

    how long does viagra last after you take it viagra walmart best herbal viagra reviews

  69. coupon for cialis by manufacturer does cialis make you bigger cialis coupon

  70. kate england viagra brother sildenafil when to take lady viagra

  71. Rufisy sagt:

    buy ivermectin canada – buy stromectol canada ivermectin price

  72. sildenafil citrate 100mg lowest price walmart viagra prices without insurance generic viagra without subscription walmart

  73. David Dinh sagt:

    viagra vs cialis comparison cheap tadalafil 5 mg cialis coupon printable

  74. Helene Simon sagt:

    how to make viagra free samples of viagra what helps viagra work better

  75. Jacob Schmid sagt:

    natural viagra alternative blood flow viagra accident mail order viagra

  76. canada pharmacy online viagra sildenafil 20 mg viagra dosing

  77. Louise Brown sagt:

    cialis without a doctor 20mg cialis couponing cvs cialis trial 30 day

  78. John Sales sagt:

    coupons for viagra viagra girls when should you take viagra

  79. does viagra work on women viagra hard cock over counter viagra walgreens

  80. will amoxicillin treat uti amoxicillin amoxicillin-pot clavulanate 875-125 mg tablet

  81. Kim Zucker sagt:

    amoxicillin clavulanate amoxicillin for cats amoxicillin 875 mg twice a day

  82. side effects for zithromax side effects for zithromax does azithromycin contain penicillin

  83. celecoxib 100mg capsules celebrex and alcohol celebrex cost

  84. side effects of celecoxib celecoxib 100mg celecoxib capsules 200mg price

  85. walmart generic celebrex 200mg celecoxib generic side effects of celebrex in the elderly

  86. Anthonytarly sagt:

    canadian viagra viagra without doctor prescription – order viagra online
    buy viagra pills

  87. Robin Kelsch sagt:

    celecoxib 200mg celecoxib side effects of celebrex

  88. Nicole Amiri sagt:

    how to stop taking cymbalta duloxetine 60 mg duloxetine 30 mg capsule side effects

  89. Juan Wilson sagt:

    cymbalta dosage strengths cymbalta reviews for pain cymbalta commercial

  90. Attractive component to content. I simply stumbled upon your
    site and in accession capital to say that I
    acquire actually loved account your weblog posts.
    Anyway I’ll be subscribing on your augment and even I
    achievement you get admission to constantly quickly.

  91. Takipçi Satın Alarak İşini Büyüt!

    Instagram’da nasıl takipçi kazanacağınızı anlamaya başlamadan önce, en önemli adımlardan biri hesabınızın tamamen optimize
    edilmesidir. Markanızın Instagram biyografisini hesabınızın aynası olarak düşünebilirsiniz.

    Instagram takipçi satın almak isteyen kullanıcıları, öncelikle profillerinde ne kadar takipçi istediklerine yönelik karar vermeleri gerekmektedir.

    İnstagram hesaplarınızda güçlü bir etkiye sahip olmak istiyorsanız
    takipçi sayınızı en kaliteli yaani Türk takipçi satın al işlemi yaparak belirli
    bir düzeye getirmelisiniz.
    Türk takipçiler tamamen organik olarak site üzerinde satışa
    sunulmuştur :

  92. Anthonytarly sagt:

    cheap viagra order viagra online – buy viagra order
    cost of viagra

  93. Kxfjul sagt:

    stromectol tablets – ivermectin 24 mg ivermectin cream 1

  94. Anthonytarly sagt:

    canadian viagra free viagra – over the counter alternative to viagra
    ed pills that work better than viagra

  95. En iyi Leke Kremi, Leke Kremi

    Cilt lekelerinin bir çok türü vardır sadece güneş, doğum
    ve sivilce lekeleri sıklıkla karşılaştığımız leke türleridir
    3. Özellikle ozon tabakasının giderek hasar görmesiyle UV ışınlarının zararlı etkilerine maruz kalma riskimiz artmıştır.

    3Güneş dolaysıcaklıkyla da ultraviyole ışınları lekelerin oluşmasında ya da koyulaşmasında en önemli etkenlerden biridir.

    Yüzümüzde ortaya çıkan lekeler ara sıra dış imajmüzü ve psikolojimizi olumsuz etkisinde bırakır.

    o halde hemen En iyi LEKE KReMi ile tanışmalısınız..

  96. Pretty interesting looking onward to coming back.

  1. Tridex sagt:

    Pablo Fear

    I found a great…

  2. Tridex sagt:

    Major Buchauer

    I found a great…

  3. mail order pharmacies


  4. cialis no prescription


  5. sagt:

    free trial offer cialis


  6. sagt:

    brand cialis in the us


  7. mexican pharmacies


  8. cvs pharmacy store 10583


Kommentar hinterlassen