...
Before we can run any examples, we must set up a proxy so that requests from your domain match our WFS. Setting up a proxy is very simple and the details can be found here.
Running Examples
Google Maps API
Code Block |
---|
|
KeyABQIAAAA3sclGimJDe4XWV2KhXgBERTAU3EnfWooxGToqZ5cP0B0YIIRiRSZxTprXfuC6Hq0EJ0f7Yfi3SGWbg
|
Code Block |
---|
|
<script src="http://maps.google.com/maps?file=api&v=2&sensor=true_or_false&key=ABQIAAAA3sclGimJDe4XWV2KhXgBERTAU3EnfWooxGToqZ5cP0B0YIIRiRSZxTprXfuC6Hq0EJ0f7Yfi3SGWbg" type="text/javascript"></script>
|
Running Jetty with Connection Pool
Add the following line at VM arguments under Run Configurations
Code Block |
---|
-Djava.naming.factory.initial=org.mortbay.naming.InitialContextFactory
|
Projection in OpenLayers
In order to have projection transformation, the openlayers needs external js library called proj4js (http://proj4js.org/).