com.mizar.faces.javax.utils
Class MapViewerUtils

java.lang.Object
  extended by com.mizar.faces.javax.utils.MapViewerUtils

public class MapViewerUtils
extends java.lang.Object


Method Summary
static java.lang.String getObjectsUrl(java.lang.String title, int width, int height, java.lang.String bgcolor, java.lang.String themeName, java.lang.String dataSource, int srid, java.lang.String spatialColumn, java.lang.String renderStyle, java.lang.String sqlQuery)
          NOT TESTED -- coded from example provided by LJ Qian [mailto:LJ.Qian@oracle.com]
static java.lang.String getStyleUrl(java.lang.String style, java.lang.String dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStyleUrl

public static java.lang.String getStyleUrl(java.lang.String style,
                                           java.lang.String dataSource)

getObjectsUrl

public static java.lang.String getObjectsUrl(java.lang.String title,
                                             int width,
                                             int height,
                                             java.lang.String bgcolor,
                                             java.lang.String themeName,
                                             java.lang.String dataSource,
                                             int srid,
                                             java.lang.String spatialColumn,
                                             java.lang.String renderStyle,
                                             java.lang.String sqlQuery)
NOT TESTED -- coded from example provided by LJ Qian [mailto:LJ.Qian@oracle.com]

Returns a URL to get an imageUrl of a single geometry (or set of geometries) using the URL similar to the example.

Example:

 
 
 
 
 SELECT geom from states where state_abrv='CA'
 
 
 
 

Parameters:
title -
width -
height -
bgcolor -
themeName -
dataSource -
srid -
spatialColumn -
renderStyle -
sqlQuery -
Returns: