Wiki

Imprimir Propiedades
Romulus_maps_Using_maps

To render a map from a POJO we simply need to annotate a field with

@ViewField(render=ViewConstants.RENDER_MAP) private String direction

So Roma will render this field as a map with the default parameters and center it in the direction specified in the String direction. To customize the map we can use the following parameters:

  • MapType - Google maps, ...
  • Zoom - The level of zoom
  • ViewType - Satellite, Map, ...
  • MapHeight - The height in pixels
  • MapWidth - The width in pixels
938 Accesos, 0 Ficheros adjuntos 0 Ficheros adjuntos

  • Comentarios