[Google Maps API v2] Problem with Static Maps API
Hi everyone,
I'm using JSF 2.0 with Primefaces to the view of my application and in
some pages I want to use a static map instead of a "dynamic map" (what
is included with Primefaces). So, I'm using this tag:
<h:graphicImage value="http://maps.google.com/maps/api/staticmap?
size=400x400&sensor=false&zoom=12¢er=#{bean.latitude},#{bean.longitude}"
alt="Place" title="#{bean.name}" />
Not working, so I use this:
<img src="http://maps.google.com/maps/api/staticmap?
size=400x400&sensor=false&zoom=12¢er=#{bean.latitude},#{bean.longitude}"
alt="Place" title="#{bean.name}" />
And it's not working too... the exception is:
javax.servlet.ServletException: Error Parsing /seller/page.xhtml:
Error Traced[line: 32] A referência à entidade "sensor" deve terminar
com o delimitador ';'. (Sorry, but my Glassfish is in portuguese)
I don't know what to do! Can anyone help me with this?
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home