SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Similar a 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
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

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