Tagged Questions
1
vote
0answers
49 views
Google Maps v3 with Openlayers - First Zoom Level
I use Google Maps v3 in my application and I noticed a strange behavior, When I refresh the web page, the map zoomed out to display the whole map then get back to the zoom level I specify in my code. ...
1
vote
3answers
76 views
How to use WKT in Google Map V3?
We have a shape with the following WKT. The problem with google map we normally extract out each of the lat and long value and put into an array and finally will do something like this. It works fine ...
-2
votes
1answer
67 views
Adding Google map layer in Openlayers - what about this function?
How to add Google map as a layer (something like "var gmap = new OpenLayers.Layer.Google("Google Streets", {visibility: false})"?) to this mymap.js function i already have:
var map = new ...
1
vote
0answers
42 views
scale dependent rendering of base layers(gmap,ghyb) causes warping/flickering
Hey guys I am using geoserver to host my WMS layers and I am using gmaps base layers in Openlayers. Below I have attempted to use scale dependent rendering of the base layer without any luck.
What I ...
1
vote
0answers
138 views
OpenLayers - Setting the Min Zoom Level of a Google Layer based on a Bounding Box
I have an OpenLayers project that is using Google Maps for the base layer. Maybe I'm going about this the wrong way, but I think what I'm trying to do is pretty simple. I just need to set the minimum ...
0
votes
1answer
91 views
Not showing multiple markers on OpenLayers
I want to show multiple markers on my Google map with OpenLayers.
Below is my code :
for (var pointcount = 0; pointcount < jsonObj.length; pointcount++) {
if (jsonObj[pointcount].Long != null ...
0
votes
2answers
136 views
How to use Google Maps geocoding with Openlayers?
I'm making a Openlayers map with some shapefile and I have Google Maps base layer. I want to create a text area and a button. When I input a address and click the button, the map should show me the ...
0
votes
1answer
82 views
Projection - Some of my data are in odd position [closed]
Some of my data has this position lon: 181 / lat: 91
So when I try to draw them on the Google map:
var geographic = new OpenLayers.Projection("EPSG:4326");
var mercator = new ...
1
vote
1answer
188 views
Google Maps 3d with geoserver wms
I am using opengeo suite with openlayers and google maps as my base layer. I have points in a postgis database that I am using to generate wms tiles. I'm pretty sure I have the projections right ...
0
votes
1answer
54 views
How to use bbox in long/lat with google/bing/etc… using mapserver‏
The bbox of OpenLayers.Control.GetFeature works in utm when the baselayer is 900913 ie. google/bing/etc) and in long/lat when the baselayer is 4326 (ie. my postgis layers served by mapserver), no ...
4
votes
2answers
578 views
Can you use Google Maps offline, with OpenLayers?
I use OpenLayers, GeoServer and PostGIS in my application. Is it possible to have Google maps offline? No need to connect to internet to get it. I'm working to make my app working offline only for ...
1
vote
1answer
207 views
Creating markers(vectors) in openlayers
I'm new to OpenLayers,currently in existing project they have created markers in openlayers map by using following code,
// vector layer creation
vLayer = new OpenLayers.Layer.Vector(layerName, {
...
1
vote
0answers
90 views
Client Side Cache google map [closed]
I need to Cache the google map on the client side through the openlayer.I havent tried the client side cache yet and have very little idea about it too.
1
vote
1answer
118 views
How to Add a KML from My Google Maps to OpenLayers?
I would like to add this kml-link from Google Maps to an OpenLayers instance.
The following code is not working:
var layer = new OpenLayers.Layer.GML("KML", ...
3
votes
1answer
114 views
Can I use QGIS plugins in PyQGIS as a stand alone script without iface?
Can I use a qgis plugin especially (openlayers plugin) in stand alone pyqgis script?
I don't find examples, just code using iface but that cannot used in stand alone script.