-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | An OpenLayers JavaScript Wrapper and Webframework with snaplet-fay -- @package olwrapper @version 0.3.7.13 module OpenLayers.HtmlInternal buttonElement :: [Char] divElement :: [Char] formElement :: [Char] inputTextElement :: [Char] inputCheckboxElement :: [Char] aElement :: [Char] pElement :: [Char] module OpenLayers.Types -- | The Projectionlike for WGS84 wgs84proj :: Projectionlike -- | The Projectionlike for Mercator mercatorproj :: Projectionlike -- | Layers with IDs are using GeoId type GeoId = Integer -- | OpenLayers Projection constructed f.e. with 'Projection "EPSG:4326"' data Projectionlike Projection :: String -> Projectionlike -- | constructor for a coordinate with x,y and projection data Coordinate Coordinate :: Double -> Double -> Projectionlike -> Coordinate -- | first coordinate x :: Coordinate -> Double -- | second coordinate y :: Coordinate -> Double -- | projection from :: Coordinate -> Projectionlike -- | Layer Opacity from min=0 (not visible) to max=100 data Opacity Opacity :: Integer -> Opacity data GeoFeature -- | A GeoLine is a styled line feature with an id GeoLine :: [Coordinate] -> GeoId -> GeoLineStyle -> GeoFeature -- | linepoints as a list of Coordinate pts :: GeoFeature -> [Coordinate] -- | id for the feature with GeoId id :: GeoFeature -> GeoId -- | linestyle with GeoLineStyle lstyle :: GeoFeature -> GeoLineStyle -- | A GeoPoint is a styled point feature with an id GeoPoint :: Coordinate -> GeoId -> GeoPointStyle -> GeoFeature -- | position with a Coordinate pt :: GeoFeature -> Coordinate -- | id for the feature with GeoId id :: GeoFeature -> GeoId -- | pointstyle with GeoPointStyle pstyle :: GeoFeature -> GeoPointStyle -- | defining a style for a GeoLine feature data GeoLineStyle GeoLineStyle :: String -> Integer -> GeoLineStyle -- | line color, can be a name (red) or code (#8904B1) color :: GeoLineStyle -> String -- | width of the line width :: GeoLineStyle -> Integer -- | defining a style for a circled GeoPoint feature data GeoPointStyle GeoPointStyle :: Integer -> String -> String -> Integer -> GeoPointStyle -- | radius of the circle radius :: GeoPointStyle -> Integer -- | fill color of the circle, can be a name (red) or code (#8904B1) fillcolor :: GeoPointStyle -> String -- | line color of the border of the circle, name (red) or code (#8904B1) outcolor :: GeoPointStyle -> String -- | width of the border of the circle, if 0 no outcolor needed outwidth :: GeoPointStyle -> Integer -- | list of possible mapsources data MapSource -- | MapQuest's satellite Sat :: MapSource -- | MapQuest's hybrid Hyb :: MapSource -- | MapQuest's OpenStreetMap Osm :: MapSource -- | OpenStreetMap OSM :: MapSource -- | puts the sources from MapQuest in a list mapQuests :: [MapSource] -- | transform MapSource to String and handle wrong input showMapSource :: MapSource -> String instance Show MapSource instance Eq MapSource module OpenLayers.Internal void :: Fay f -> Fay () module OpenLayers.Html addTextToHtml :: String -> String -> String -> Fay () addButton :: String -> String -> Fay () -> Fay () addCheckbox :: String -> String -> String -> Fay () addDiv :: String -> String -> String -> Fay () addLabel :: String -> String -> String -> Fay () addForm :: String -> String -> Fay JQuery addInput :: String -> String -> String -> String -> Fay () addBreakline :: String -> Fay () getInputInt :: String -> Fay Integer onClick' :: Fay () -> JQuery -> Fay JQuery select' :: String -> Fay JQuery selectId' :: String -> Fay JQuery setHtml' :: String -> JQuery -> Fay JQuery setAttr' :: String -> String -> JQuery -> Fay JQuery setDoubleAttr' :: String -> Double -> JQuery -> Fay JQuery showString' :: String -> Text showDouble' :: Double -> Text toInt :: Text -> Fay Integer toInt' :: String -> Integer module OpenLayers.Func newLayerMqt :: String -> Object newLayerOSM :: Object newVector :: Object -> Opacity -> Fay Object newFeature :: GeoFeature -> Fay Object newLineStyle :: GeoLineStyle -> Object newPointStyle :: GeoPointStyle -> Object newFeatureLine :: [(Double, Double)] -> Fay Object newFeaturePoint :: (Double, Double) -> Fay Object newOlInput :: JQuery -> String -> Object -> String -> Fay () addSelectClick :: Fay () addSingleClickEvent :: Fay () addBaseLayer :: MapSource -> Fay () addId :: Object -> Integer -> Fay Object addMapLayer :: MapSource -> Fay () addLayer :: Object -> Fay () addStyledFeature :: GeoFeature -> Opacity -> Fay () addStyledFeatures :: [GeoFeature] -> Opacity -> Fay () addFeatureId :: Object -> GeoFeature -> Fay Object addFeatures :: Object -> [Object] -> Fay () addPointFromLabels :: String -> String -> String -> String -> GeoPointStyle -> Fay () addMapListener :: String -> String -> Fay () addMapWindowEvent :: String -> Fay JQuery -> Fay () addOlDomInput :: String -> String -> String -> Object -> Fay () removeLayers :: Fay () removeLayer :: a -> Fay () zoomIn :: Integer -> Fay () zoomOut :: Integer -> Fay () styleFeature :: Object -> GeoFeature -> Fay Object styleFeature' :: Object -> Object -> Fay Object changeBaseLayer :: MapSource -> Fay () setFeatureStyle :: Object -> Object -> Object setCenter' :: (Double, Double) -> Fay () setCenter :: Coordinate -> Fay () setCenterZoom :: Coordinate -> Integer -> Fay () setZoom :: Integer -> Fay () setTarget :: String -> Fay () setDefaultView :: Fay () setEventToHtml :: String -> Fay Text -> Fay JQuery getCenter :: Projectionlike -> Integer -> Fay Text getZoom :: Fay Text getCenter_ :: Fay (Double, Double) getLayers :: Fay [Object] getLayerByIndex :: Integer -> Object getLayerByIndex' :: Integer -> Fay Object getFeatureId :: Object -> Integer getFeatureAt :: Object -> Integer -> Object getFeatureLength :: Object -> Integer transformPointBack' :: Projectionlike -> (Double, Double) -> (Double, Double) transformPoint' :: Coordinate -> (Double, Double) transformPoints' :: [Coordinate] -> [(Double, Double)] coordFixed :: (Double, Double) -> Integer -> Fay Text lois :: Fay f -> f toDouble' :: Text -> Double zipWithM3 :: (a -> b -> c -> Fay d) -> [a] -> [b] -> [c] -> Fay [d] zipWithM :: (a -> b -> Fay c) -> [a] -> [b] -> Fay [c] map' :: (a -> Fay b) -> [a] -> Fay [b] module OlApp -- | ID for the combination of the HTML-Element map and the OpenLayers -- object targetId :: [Char] -- | definition of the behaviour for OpenLayers designMap :: Fay () module OpenLayers -- | Adds an default naked OpenLayers Map Object addDefaultMap :: Fay () -- | Initialises an object of the OpenLayers Map as HTML object. The -- variable name "olc" must be reserved for the whole website! defineCode :: Fay () -- | Initialises an OpenLayers View and load the definitions from the -- OpenLayers Webapplication defined in OlApp olwrapperLoad :: Fay ()