Dynamic Layers and dynamic Data
-
Is there a way to add custom layers. Something like the following OpenLayers snippet:
var vectorLayer = new OpenLayers.Layer.Vector("Overlay");
var feature = new OpenLayers.Feature.Vector(
new OpenLayers.Geometry.Point(-71, 42), {some:'data'}, {externalGraphic: 'img/marker.png', graphicHeight: 21, graphicWidth: 16}); vectorLayer.addFeatures(feature);
map.addLayer(vectorLayer); -
A followup question is: is it possible to setup dynamic Dataset with a GeometryTable/AttributeTable. Possibly using a GeoJSON string. We are wondering if it is possible to combine our Application data with the available datasets and using the combined data in a Map.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Boris Dev on 17 Jan, 2012 02:20 AM
Click here for an example of adding a Mapfluence layer to OpenLayers
Please clarify: Are you asking if it possible to load your own data to the Mapfluence server and then render map tile layers based on that data you just loaded?
Thanks.
Boris Dev closed this discussion on 17 Jan, 2012 02:20 AM.
Harish Butani re-opened this discussion on 17 Jan, 2012 09:42 PM
3 Posted by Harish Butani on 17 Jan, 2012 09:42 PM
Yes we are looking at scenario 2. Based on our User's interaction and profile we would like to dynamically render a Map: would like both content and styling to be dynamic.
Is it possible to join Attributes from different Tables to come up with calculated values? An extension to this is to pass an inline Table in a Query ( I am equating this to SQL; I think all this is possible in PostGIS). We are wondering if you allow this through the Api.
regards,
Harish.
--- On Mon, 1/16/12, Boris Dev <***@tenderapp.com> wrote:
> From: Boris Dev <***@tenderapp.com>
> Subject: Dynamic Layers and dynamic Data [Questions]
> To: ***@vulcantrips.com
> Date: Monday, January 16, 2012, 6:20 PM
>
Support Staff 4 Posted by Boris Dev on 17 Jan, 2012 10:21 PM
To calculate new values to map you can use expressions in the ``select``
property of a map layer.
Guide here:
http://developer.urbanmapping.com/docs/mapfluence/js/2.0/guides/expressions
/#guide-expressions
Reference doc here:
http://developer.urbanmapping.com/docs/mapfluence/js/2.0/reference/MF/expr
Styling of the image tiles of map can also be customized by changing
properties of a Mapfluence layer object such as border, styles, opacity
and zoom. (example documentation:
http://developer.urbanmapping.com/docs/mapfluence/js/2.0/reference/MF/layer
/tile/Thematic)
Here is a complete list of maps that can be made:
http://developer.urbanmapping.com/docs/mapfluence/js/2.0/reference/MF/layer
/tile/#MF.layer.tile
Support Staff 5 Posted by Boris Dev on 17 Jan, 2012 10:25 PM
Fixed URL:
http://developer.urbanmapping.com/docs/mapfluence/js/2.0/guides/expressions
/#guide-expressions
Support Staff 6 Posted by Boris Dev on 19 Jan, 2012 02:03 AM
x
Boris Dev closed this discussion on 19 Jan, 2012 02:03 AM.