SlideShare a Scribd company logo
1 of 13
GMap2
wicket-contrib-gmap2   http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 Sven Meier    [email_address] Martin Funk    [email_address] Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
Plan ,[object Object],[object Object],[object Object],[object Object],Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
<html> <head> <body> <div> Participants <span> Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 WebPage Panel Component GMap2 Behavior WicketGMap2 GMap2 Behavior
Simple public SimplePage() { add(new GMap2(&quot;map&quot;, GMAP2_KEY)); } Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
<html> <head> <body> <div> Simple Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 WicketGMap2 WebPage GMap2 GET response
Marker map.add(new ClickListener() { protected void onClick(AjaxRequestTarget target, GLatLng latLng, GOverlay overlay) { if (latLng != null) { if (map.getOverlays().size() >= 3) { map.removeOverlay(map.getOverlays().get(0)); } map.addOverlay(new GMarker(latLng)); } } }); Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
<html> <head> <body> <div> Marker <span> Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 GMap2 WebPage GMap2 ClickListener GEventListener XMLHttpRequest response update
Controls final Label zoomIn = new Label(&quot;zoomInLabel&quot;, &quot;ZoomIn&quot;); zoomIn.add(map.new ZoomInBehavior(&quot;onclick&quot;)); add(zoomIn); Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
<html> <head> <body> <div> Controls <span onclick> Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 WicketGMap2 WebPage Gmap2 Label ZoomInBehavior event
Things Not Shown ,[object Object],[object Object],[object Object],[object Object],Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
Plan ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
Q & A Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007

More Related Content

Similar to wicket contrib gmap2 (9)

Magie di git
Magie di gitMagie di git
Magie di git
 
HTML5 with examples
HTML5 with examplesHTML5 with examples
HTML5 with examples
 
Html5
Html5Html5
Html5
 
GWT
GWTGWT
GWT
 
Gooogle Web Toolkit
Gooogle Web ToolkitGooogle Web Toolkit
Gooogle Web Toolkit
 
SMIL Containers
SMIL ContainersSMIL Containers
SMIL Containers
 
An introduction to using GStreamer in your GNOME application
An introduction to using GStreamer in your GNOME applicationAn introduction to using GStreamer in your GNOME application
An introduction to using GStreamer in your GNOME application
 
Struts2 course chapter 2: installation and configuration
Struts2 course chapter 2: installation and configurationStruts2 course chapter 2: installation and configuration
Struts2 course chapter 2: installation and configuration
 
GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementation
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

wicket contrib gmap2

  • 2. wicket-contrib-gmap2 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 Sven Meier [email_address] Martin Funk [email_address] Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
  • 3.
  • 4. <html> <head> <body> <div> Participants <span> Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 WebPage Panel Component GMap2 Behavior WicketGMap2 GMap2 Behavior
  • 5. Simple public SimplePage() { add(new GMap2(&quot;map&quot;, GMAP2_KEY)); } Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
  • 6. <html> <head> <body> <div> Simple Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 WicketGMap2 WebPage GMap2 GET response
  • 7. Marker map.add(new ClickListener() { protected void onClick(AjaxRequestTarget target, GLatLng latLng, GOverlay overlay) { if (latLng != null) { if (map.getOverlays().size() >= 3) { map.removeOverlay(map.getOverlays().get(0)); } map.addOverlay(new GMarker(latLng)); } } }); Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
  • 8. <html> <head> <body> <div> Marker <span> Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 GMap2 WebPage GMap2 ClickListener GEventListener XMLHttpRequest response update
  • 9. Controls final Label zoomIn = new Label(&quot;zoomInLabel&quot;, &quot;ZoomIn&quot;); zoomIn.add(map.new ZoomInBehavior(&quot;onclick&quot;)); add(zoomIn); Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007
  • 10. <html> <head> <body> <div> Controls <span onclick> Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007 WicketGMap2 WebPage Gmap2 Label ZoomInBehavior event
  • 11.
  • 12.
  • 13. Q & A Martin Funk @ Wicket Meetup, Amsterdam 30.11.2007