SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à wicket contrib gmap2

HTML5 with examples
HTML5 with examplesHTML5 with examples
HTML5 with examplesgopivthmk
 
SMIL Containers
SMIL ContainersSMIL Containers
SMIL Containersjsmith
 
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 applicationnirbheekchauhan
 
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 configurationJavaEE Trainers
 
GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationDavid Calavera
 

Similaire à 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
 

Dernier

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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 productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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 StreamsRoshan Dwivedi
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Dernier (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

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