java.lang.Object
fr.paris.lutece.plugins.cartography.modules.solr.service.CartographyService

public class CartographyService extends Object
  • Field Details

  • Constructor Details

    • CartographyService

      public CartographyService()
  • Method Details

    • getGeolocModel

      public static List<HashMap<String,Object>> getGeolocModel(List<fr.paris.lutece.plugins.search.solr.business.SolrSearchResult> listResultsGeoloc, fr.paris.lutece.plugins.carto.business.DataLayer datalayer, fr.paris.lutece.plugins.carto.business.DataLayerMapTemplate dataLayerMapTemplate)
      Returns a model with points data from a geoloc search
      Parameters:
      listResultsGeoloc - the result of a search
      Returns:
      the model
    • getWFSFluxModel

      public static List<HashMap<String,Object>> getWFSFluxModel(int nIdMap)
    • replaceMarker

      public static String replaceMarker(String text, String uid, String solrTag)
    • getGeolocItemPoint

      public static fr.paris.lutece.plugins.leaflet.business.GeolocItem getGeolocItemPoint(Double x, Double y, String adresse)
      get a geolocitem point from coordinate
      Parameters:
      x - coordinate x
      y - coordinate y
      adresse -
      Returns:
    • getGeolocItemPolygon

      public static fr.paris.lutece.plugins.leaflet.business.GeolocItemPolygon getGeolocItemPolygon(String coordinate, String strTypeGeometry)
      get a geolocitem polygon or polyline from coordinates
      Parameters:
      coordinate -
      strTypeGeometry - Polygon or Polyline
      Returns:
    • loadMapAndPoints

      public static void loadMapAndPoints(fr.paris.lutece.plugins.carto.business.MapTemplate map, Map<String,Object> model, fr.paris.lutece.portal.service.security.LuteceUser user)
      load model carto into the map
      Parameters:
      map -
      model -