[Geoserver-users] layerswitcher.js and adding vector data from Geoserver

I am trying to follow the example of this link because I want to add vector
data (which I have uploaded onto Geoserver) in the map:

https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js
<https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js&gt;

I am unsure about this part:
url: 'http://demo.opengeo.org/geoserver/wms’,

How can I find out what is my source url?

Also, since it is vector data, do I use these two:

new ol.layer.Vector
source: new ol.source.Vector

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

To make web maps, GeoServer is often used to take vector data and render it to Web Map Service tiled images. Your OpenLayers 3 JavaScript client consumes these WMS tiles and displays them on the map. In this use-case, the JavaScript never sees vector data, only images (typically PNG). This is server-side map rendering.

What is your source data geometry type? Polygons, linestrings, or points? Do you want it rendered to web map service tiles by GeoServer? OpenLayers can also consume vector data. Please tell us what you are trying to do. This will determine whether you should be using GeoServer to deliver vector data (e.g. via WFS) or image data (e.g via WMS).

The url parameter is the "service endpoint". For local testing you might use for WMS:

url: "http://localhost:8080/geoserver/wms&quot;

When you have deployed your GeoServer instance on a web server (for example services.example.org) you might change this to:

url: "http://services.example.org/geoserver/wms&quot;

but this is dependent on server configuration. For WMS, it is your GeoServer web app context plus "/wms".

All together in OpenLayers 3 you can define a tiled WMS layer with something like:

new ol.layer.Tile({
     source: new ol.source.TileWMS({
         url: "http://services.example.org/geoserver/wms&quot;,
         params: {
             "layers": "myns:mylayer",
             "tiled": true
         },
         serverType: "geoserver"
     })
})

The above goes inside a statement like

new ol.Map({
     target: "map",
     layers: [

[...]

Kind regards,
Ben.

On 30/12/15 15:35, epyks23 wrote:

I am trying to follow the example of this link because I want to add vector
data (which I have uploaded onto Geoserver) in the map:

https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js
<https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js&gt;

I am unsure about this part:
url: 'http://demo.opengeo.org/geoserver/wms’,

How can I find out what is my source url?

Also, since it is vector data, do I use these two:

new ol.layer.Vector
source: new ol.source.Vector

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

I have multiple vector layers (lines, points and polygons) and one raster
layer.

I want the user to be able to click on the map and a pop up to show up and
show the attributes of a feature. I would not want an image for my layers
because I do not think the user would be able to click on features on the
map and have the attributes of that feature show up (am I correct?).

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243289.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I think that tiled WMS is exactly what you want. WMS has several operations:

To make a map, a client (OpenLayers in this case) submits WMS GetMap requests and receives multiple tiles (images) in response. The client assembles these into a map for the user to see.

When the user clicks on a pixel on the map, OpenLayers submits a WMS GetFeatureInfo request to the server. This is a request for a description of all features at a pixel on the map, typically comprising all the attributes of each feature. The client then renders this for the user to view.

When you use the OpenLayers layer preview in GeoServer, you are doing exactly this: using tiled WMS with GetMap and GetFeatureInfo for get attributes from features on the map. Is this what you want?

Kind regards,
Ben.

On 31/12/15 01:54, epyks23 wrote:

I have multiple vector layers (lines, points and polygons) and one raster
layer.

I want the user to be able to click on the map and a pop up to show up and
show the attributes of a feature. I would not want an image for my layers
because I do not think the user would be able to click on features on the
map and have the attributes of that feature show up (am I correct?).

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243289.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Thanks for the explanation. I understand the functionality of WMS.

map.html <http://osgeo-org.1560.x6.nabble.com/file/n5243444/map.html&gt;
layerswitcher.js
<http://osgeo-org.1560.x6.nabble.com/file/n5243444/layerswitcher.js&gt;

(I do not see the layer in my map).

Do I need to put additional code for GetMap and GetFeatureInfo ?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243444.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

I do not understand why this would work. I do not know what "L" is. Surely your base map needs to be added inside "new ol.Map({"? It looks to me like you have two Map instances for a single "map" div. Try something like this tiled WMS example:
http://openlayers.org/en/v3.12.1/examples/wms-tiled.html

GetMap is supported automatically by creating an "ol.Map". GetFeatureInfo requires a JavaScript event handler to call ol.source.TileWMS.getGetFeatureInfoUrl.

This example shows how to use GetFeatureInfo with tiled WMS (although I think the code no longer matches the sever configuration; can you get it to work with topp:states as in the previous example?):
http://openlayers.org/en/v3.12.1/examples/getfeatureinfo-tile.html

I have found many great ideas in the OpenLayers 3 examples:
http://openlayers.org/en/v3.12.1/examples/

Kind regards,
Ben.

On 02/01/16 17:54, epyks23 wrote:

Thanks for the explanation. I understand the functionality of WMS.

map.html <http://osgeo-org.1560.x6.nabble.com/file/n5243444/map.html&gt;
layerswitcher.js
<http://osgeo-org.1560.x6.nabble.com/file/n5243444/layerswitcher.js&gt;

(I do not see the layer in my map).

Do I need to put additional code for GetMap and GetFeatureInfo ?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243444.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Hi,

The L seems to be a variable that sets the basemap. When I remove the L, the
basemap disappears.
(I want to use the esri basemap but for now I am going to try and focus on
getting the layers to appear on the map).

I used the map code from
http://openlayers.org/en/v3.12.1/examples/wms-tiled.html
<http://openlayers.org/en/v3.12.1/examples/wms-tiled.html&gt;

and I created this: Tile.html
<http://osgeo-org.1560.x6.nabble.com/file/n5243537/Tile.html&gt;
(for now I am going to put the JavaScript inside the HTML to keep myself
organized).
I added a layer from Geoserver but it is not showing up.

I tried the GetFeatureInfo with the topp:states but the layer does not show
up GetFeature_example.html
<http://osgeo-org.1560.x6.nabble.com/file/n5243537/GetFeature_example.html&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243537.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

in Tile.html, your brackets do not match. You have an extra "}" after 'Marine:Great_Britain'. Please use an editor that matches brackets and turn on the JavaScript error console in your browser to tell you the location of syntax errors.

In GetFeature_example.html, you have a missing "," after "serverType: 'geoserver'" making the JavaScript syntactically invalid. Once this comma is added, clicking on the map makes a successful GeoFeatureInfo request with results written to <div id="info"> as expected.

Kind regards,
Ben.

On 04/01/16 11:59, epyks23 wrote:

Hi,

The L seems to be a variable that sets the basemap. When I remove the L, the
basemap disappears.
(I want to use the esri basemap but for now I am going to try and focus on
getting the layers to appear on the map).

I used the map code from
http://openlayers.org/en/v3.12.1/examples/wms-tiled.html
<http://openlayers.org/en/v3.12.1/examples/wms-tiled.html&gt;

and I created this: Tile.html
<http://osgeo-org.1560.x6.nabble.com/file/n5243537/Tile.html&gt;
(for now I am going to put the JavaScript inside the HTML to keep myself
organized).
I added a layer from Geoserver but it is not showing up.

I tried the GetFeatureInfo with the topp:states but the layer does not show
up GetFeature_example.html
<http://osgeo-org.1560.x6.nabble.com/file/n5243537/GetFeature_example.html&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243537.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Thanks for the feedback. (I am going to try and find the JavaScript console).

I can finally see the layers now Tile.html
<http://osgeo-org.1560.x6.nabble.com/file/n5243699/Tile.html&gt;

Now I need to add a legend so that the user can switch the layers on and
off.

I was following this example:
https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js
<https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js&gt;

And I added the following code because I think this is the legend part. But
it does not show up on the map:

    var layerSwitcher = new ol.control.LayerSwitcher({
    tipLabel: 'Légende' // Optional label for button
    });
    map.addControl(layerSwitcher);

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243699.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

in Firefox and Chrome you can toggle developer tools with F12.

I looked at your Tile.html:

(1) Where is ol.control.LayerSwitcher defined? You do not have a script tag to load the definition from ol3-layerswitcher.js.

(2) You are also missing ol3-layerswitcher.css which defines the appearance and CSS hover behaviour of the layer switcher component.

(3) Your example does not resemble the ol3-layerswitcher example, which places all layers in groups and all layers and groups have a title property. The documentation and source of ol3-layerswitcher.js suggests that only layers with titles are recognised by the layer switcher.

I have attached a modified version of your Tile.html with:

- a script tag to load ol3-layerswitcher.js (same folder as the html)

- a stylesheet for ol3-layerswitcher.css (same folder as the html)

- 'title' property on all layers

- topp:states from Boundless demo WMS to have a working example, and an adjustment in the view to match

The attached html works for me with the OSM base layer and topp:states displayed and a working layer switcher at the top left.

Kind regards,
Ben.

On 05/01/16 12:51, epyks23 wrote:

Thanks for the feedback. (I am going to try and find the JavaScript console).

I can finally see the layers now Tile.html
<http://osgeo-org.1560.x6.nabble.com/file/n5243699/Tile.html&gt;

Now I need to add a legend so that the user can switch the layers on and
off.

I was following this example:
https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js
<https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js&gt;

And I added the following code because I think this is the legend part. But
it does not show up on the map:

     var layerSwitcher = new ol.control.LayerSwitcher({
     tipLabel: 'Légende' // Optional label for button
     });
     map.addControl(layerSwitcher);

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243699.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Tiles-with-layerswitcher.html (1.54 KB)

Sorry, *top right*, not left.

On 05/01/16 15:00, Ben Caradoc-Davies wrote:

The attached html works for me with the OSM base layer and topp:states
displayed and a working layer switcher at the top left.

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Hi,

I do not see the layer switcher in the map. This is what I see when I open
the map directly through the GeoServer - User website

tile.PNG <http://osgeo-org.1560.x6.nabble.com/file/n5243705/tile.PNG&gt;

When I save the html file and open it in my browser, the topp:states layer
does not show.

I modified the file to insert my layer. It does not show up on the map. I
get this error instead:
error.PNG <http://osgeo-org.1560.x6.nabble.com/file/n5243705/error.PNG&gt;

It cannot find the .js and .css of the ol3-layerswitcher. Does this mean I
need to create these two files? What code do I need to put in them?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243705.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

you must copy the two files that comprise ol3-layerswitcher and save them in your folder alongside the html file:
https://github.com/walkermatt/ol3-layerswitcher/tree/master/src

The two files are:
https://raw.githubusercontent.com/walkermatt/ol3-layerswitcher/master/src/ol3-layerswitcher.js
https://raw.githubusercontent.com/walkermatt/ol3-layerswitcher/master/src/ol3-layerswitcher.css

You have a further error message that indicates that you might have a JavaScript cross-origin problem:
http://openlayers.org/en/v3.12.1/apidoc/ol.source.TileWMS.html
https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image

If this error persists once you have copied the js and css, either deploy the html, js, and css so that they are delivered by your server (rather than as a local file) or enable CORS in your server. This error should not affect WMS GetMap, but JavaScript security rules by default will block cross-origin XML requests (I think GeoFeatureInfo will be affected).

Kind regards,
Ben.

On 05/01/16 16:41, epyks23 wrote:

Hi,

I do not see the layer switcher in the map. This is what I see when I open
the map directly through the GeoServer - User website

tile.PNG <http://osgeo-org.1560.x6.nabble.com/file/n5243705/tile.PNG&gt;

When I save the html file and open it in my browser, the topp:states layer
does not show.

I modified the file to insert my layer. It does not show up on the map. I
get this error instead:
error.PNG <http://osgeo-org.1560.x6.nabble.com/file/n5243705/error.PNG&gt;

It cannot find the .js and .css of the ol3-layerswitcher. Does this mean I
need to create these two files? What code do I need to put in them?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243705.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Hi,

Is code different when adding raster data (in comparison to adding the
vector data)?

Like this?

  new ol.layer.Tile({
        title: 'Bathymetry B2',
        source: new ol.source.TileWMS({
  url: 'http://localhost:8080/geoserver/wms’,
  params: {'LAYERS': 'Marine:Bathymetry_B2', 'TILED': true},
        serverType: 'geoserver'

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243715.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

as far as I know, layers from raster sources should be the same from a client's point of view as rendering to WMS images occurs on the server side. The main difference is the use of RasterSymbolizer in SLDs:
http://docs.geoserver.org/stable/en/user/styling/sld-reference/rastersymbolizer.html

Kind regards,
Ben.

On 05/01/16 18:25, epyks23 wrote:

Hi,

Is code different when adding raster data (in comparison to adding the
vector data)?

Like this?

  new ol.layer.Tile({
         title: 'Bathymetry B2',
         source: new ol.source.TileWMS({
  url: 'http://localhost:8080/geoserver/wms’,
  params: {'LAYERS': 'Marine:Bathymetry_B2', 'TILED': true},
         serverType: 'geoserver'

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243715.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

I added the layers in layer groups. Tile2.html
<http://osgeo-org.1560.x6.nabble.com/file/n5244198/Tile2.html&gt;

I added the GetFeatureInfo and get error: cross.png
<http://osgeo-org.1560.x6.nabble.com/file/n5244198/cross.png&gt;

I used "anonymous" and "use-credentials" for crossOrigin
https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes
<https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes&gt;

and get error: error2.PNG
<http://osgeo-org.1560.x6.nabble.com/file/n5244198/error2.PNG&gt;

What does it mean to deploy the html, js and css to deliver in server? (I
want to eventually send this map to someone else and currently, they would
not be able to see the map since it is hosted locally. Does this process
have to do with making the map more public?)

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5244198.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

Tile2.html is not well-formed html as in '<div id="map"</div>' the opening 'div' tag is not closed. Any html editor with syntax colouring will alert you to this as will Firefox "Page Source" (Ctrl-U). Please use an editor with syntax highlighting.

At the moment, your html comes from local files <file:///something.html> and your XML data comes from <http://localhost:8080/geoserver&gt; which are different origins for JavaScript security purposes.

"You can place static files in the www subdirectory of the GeoServer data directory, and they will be served at http://myhost:8080/geoserver/www. This means you can deploy HTML, images, or JavaScript, and have GeoServer serve them directly on the web."
http://docs.geoserver.org/latest/en/user/tutorials/staticfiles.html

In your case these files will be <http://localhost:8080/geoserver/www/Tile2.html&gt; or similar.

If you use GeoServer to serve your static files, they will have the same JavaScript origin as your GeoServer web services and will not be affected by any of the JavaScript cross-origin rules; you can then remove all your cross-origin configuration. GetFeatureInfo will just work. In production there are even better ways to serve static content, such as a proxying apache web server instance, but you do not yet need this.

When you want to share your map with others, you will need to have GeoServer hosted on a server that others can access. They will also need to see the web services, html, js, and css as originating from the same JavaScript domain (protocol, host, and port).

Kind regards,
Ben.

On 08/01/16 10:27, epyks23 wrote:

I added the layers in layer groups. Tile2.html
<http://osgeo-org.1560.x6.nabble.com/file/n5244198/Tile2.html&gt;

I added the GetFeatureInfo and get error: cross.png
<http://osgeo-org.1560.x6.nabble.com/file/n5244198/cross.png&gt;

I used "anonymous" and "use-credentials" for crossOrigin
https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes
<https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes&gt;

and get error: error2.PNG
<http://osgeo-org.1560.x6.nabble.com/file/n5244198/error2.PNG&gt;

What does it mean to deploy the html, js and css to deliver in server? (I
want to eventually send this map to someone else and currently, they would
not be able to see the map since it is hosted locally. Does this process
have to do with making the map more public?)

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5244198.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Hi,

I put the html, javascript and css in the www folder of the GeoServer data
directory.

www.PNG <http://osgeo-org.1560.x6.nabble.com/file/n5244351/www.PNG&gt;

Tile2.html <http://osgeo-org.1560.x6.nabble.com/file/n5244351/Tile2.html&gt;
ol3-layerswitcher.css
<http://osgeo-org.1560.x6.nabble.com/file/n5244351/ol3-layerswitcher.css&gt;
ol3-layerswitcher.js
<http://osgeo-org.1560.x6.nabble.com/file/n5244351/ol3-layerswitcher.js&gt;

Are you able to see it?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5244351.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

epyks23,

only you will be able to see this map because it references services on localhost, which is your own computer. This is called a loopback address. Anyone using this html will connect to their own computer, which does not have your GeoServer. These requests will fail.

For anyone else to see this map, you will need to deploy your GeoServer instance on a server that others can access. You will also need to modify your service URLs (currently http://localhost:8080/geoserver/… ) to use this new address.

If your desktop has an address that is visible to your audience and your firewall rules permit connections on port 8080, then just replace "localhost" with the fully-qualified host name of your desktop. On Windows you can deduce this from running "ipconfig /all". Note that most corporate networks block port 8080 connections from the outside world. Serving content from your desktop is a bad idea because it becomes available whenever your computer is off. All serious content is delivered by dedicated services with high availability.

What are you trying to do? Are you trying to serve a map on a private network? Are you in a corporate environment? Do you have IT support who operate servers that might host your GeoServer? What is your situation and audience?

Kind regards,
Ben.

On 09/01/16 17:04, epyks23 wrote:

Hi,

I put the html, javascript and css in the www folder of the GeoServer data
directory.

www.PNG <http://osgeo-org.1560.x6.nabble.com/file/n5244351/www.PNG&gt;

Tile2.html <http://osgeo-org.1560.x6.nabble.com/file/n5244351/Tile2.html&gt;
ol3-layerswitcher.css
<http://osgeo-org.1560.x6.nabble.com/file/n5244351/ol3-layerswitcher.css&gt;
ol3-layerswitcher.js
<http://osgeo-org.1560.x6.nabble.com/file/n5244351/ol3-layerswitcher.js&gt;

Are you able to see it?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5244351.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Hi,

I am doing the web map (contract work) for a non-profit environmental
organization.

The organization wants the map to be done using open source
software/application (thus the reason for using GeoServer). I tried other
types of open source software/applications, but since the data is very large
(I have about 28 layers in the map), GeoServer seemed like the only option
to hold this data.

They want me to send this map to them and for it to be visible within the
organization (I think they also want to eventually make it public by
embedding it on their website... I am not 100% but I will ask them).

I sent them an email asking if there was someone in their IT department (I
don't know if they even have on, they are a small organization), so I will
wait for them. It seems like there is not much I can do further from my
side? And yes, it seems that serving the content from my computer would be a
bad idea.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5244409.html
Sent from the GeoServer - User mailing list archive at Nabble.com.