0
votes
0answers
20 views

How to remove the 'Report a map error' message in Google Satellite imagery?

Using Google Satellite as a basemap, I see the message 'Report a map error' in the bottom right corner of the screen (when the map is over land). Here is an example of this message on a similar map. ...
0
votes
1answer
26 views

Projections when using google maps and rest service on openlayers

I am trying to use a rest service on an openlayers map that has 2 google maps layers. The google map layer is set to it's own custom projection (which I had to code into the library by hand, but I ...
0
votes
1answer
50 views

How to Represent large data using google map api in javascript

1) I am trying to represent data using bins as the data was too large to display each and every point simultaneously. but the problem with this also existing if the no of bins are getting larger ...
0
votes
1answer
46 views

WFS not in position when using a Google Base Layer

I use two base layers and user can switch from OSM Mapquest to Google from a drop down list. However my WFS layer is not in position (shift of about 5 degrees to the East) when the base layers is a ...
0
votes
0answers
31 views

How to cache write Google Maps in OpenLayers?

How can I cache write Google Maps in OpenLayers? Cache writing function of OpenLayers works with other maps but I have difficulty implementing it with Google Maps?
0
votes
1answer
96 views

which framework is good for closed intranet [closed]

My requirement is simple. By latitude/longitude, draw icon on the map, draw a line between two icons.I may need put a customer picture over the map. It is not difficult by google map javascript or ...
0
votes
0answers
80 views

Looking for mobile web app map control that can handle layer redraw with good performance

I want to develop mobile web app to track GPS coords in real time (refresh every 10 seconds) from geoserver. Currently I have desktop site I wrote in ExtJS 4 and it works pretty well (Openlayers + ...
0
votes
2answers
598 views

How to install PostGIS and OpenLayers plugins?

I am new to QGIS and have installed the QGIS v 2.2.0. For adding google map as a base layer I need to install OpenLayers plugin. I also need to add the PostGIS plugin for DB management purpose. Can ...
2
votes
2answers
362 views

Google Maps Coordinates Problem

I have been trying to use google street maps with the help of OpenLayers, but Every time I am running into a problem with this google maps coordinates. The Coordinates of a location named 'Asab, in ...
1
vote
1answer
102 views

OpenLayers behaves problematic after certain zoom level in Google Maps Satellite view

I have some polygon data in .shp format to show in Google Maps Satellite view. I can show them well until certain zoom level. But after certain level (zoom level 17 or 18), OpenLayers layer and ...
0
votes
0answers
54 views

How to achieve labeling in openlayers as Google did?

I am tried to find a solution for my question. Please look the images below. Google Google are awesome!!.. They are doing fantastic technique in labeling part. Please look the marked labels, the ...
1
vote
1answer
138 views

GeoJSON vector layer created using OpenLayers is broken

What i want to do here is to create a vector layer (using openlayers) from a GeoServer JSON Response. Actually i'm doing this: var url = ...
1
vote
1answer
96 views

JSONP working with Geoserver and OpenLayers

I'm in this scenario (fighting with the same origin police issue): I have a map initialized with OpenLayers and a WFS request trough the Protocol.Script object that is giving me this error: ...
2
votes
2answers
1k views

Offline map(google/openlayers) for HTML5(Angular) based hybrid application

I have a requirement where the customer has explicitly asked for offline support for the map. The rest of the application works well offline, but i am not sure how to get this done using Google or ...
3
votes
0answers
95 views

How to determine and send alert SMS for next bus stop in a GPS tracking system?

In my gps tracking system (PHP/MySql) I have got 5 Stops for a vehicle. Whenever the bus reaches stop 1, the passengers at stop 2 should get an SMS alert. And in the same way for the sops followed ...
1
vote
1answer
129 views

overlay wfs google in openlayers

map = new OpenLayers.Map('map', options); // BASELAYER var google_maps = new OpenLayers.Layer.Google( "Google Maps", { numZoomLevels: 20 } ); var ...
1
vote
0answers
243 views

Updated: Openlayers Vector Layers with Google Map Base Layer (via Grid): Vectors Stick but can't get correct resolution/projection

Revamping this question instead of opening a new one. Previous issue: vector layers were not "sticking" to the map, so when you would zoom in or out the vector layers would "come out" at you. Note ...
0
votes
1answer
120 views

openlayers Googlemap and custom wms

I have a custom wms server the transform for this wms is UTM and i cannot set googlemap layr for background for example my feature in wms is Iran country but googlemap background is Algeria this is ...
0
votes
3answers
103 views

Get google maps small portion for offline application

Can some body help me in downloading some portion of hybrid maps of google as I want to store them in my server and display them on web application using openlayers so that the user will only have ...
0
votes
0answers
109 views

Openlayers using google maps as base layer have offset on WMS layer when zooming out

I have WMS layer with points (EPSG 4326) on a base google map layers. I've noticed when I zoom out , the wms layer is offseting to the left. Max zoom in , this is the correct position : Zooming out ...
2
votes
1answer
608 views

Google maps layer as the base layer and WMS as overlays shows empty map

I have a problem of showing my base layer which is Google Maps. The browser console reports "Uncaught TypeError: undefined is not a function" in var google_streets = new ...
-1
votes
1answer
579 views

Retrive data from database in openlayer GIS

i am using this code but it shows nothing, whats wrong with this code. <!DOCTYPE html> <html lang='en'> <?php $conn_string = "host=localhost dbname=postgis_21 user=postgres ...
3
votes
2answers
687 views

Openlayers using Google Maps as base layer: possible to zoom out farther than max extent?

See attached picture. This is how it is when the page loads. I'm currently using map.zoomToMaxExtent(); Everything is working pretty well but I'd like to zoom out more/see the whole world using ...
1
vote
4answers
755 views

OpenLayers - Can't remove zoom control buttons, other controls simply lay on top

I have a simple OpenLayers script with a Google map as the base layer. By default the map has a + and - zoom control button, which I can't find how to get rid of. I've added an empty controls array ...
1
vote
0answers
128 views

Open Layers map shows partial map on page load, unless dev-tools are opened [closed]

I have a Open Layers map with a few KML layers being added dynamically on top of it. On page load I see only a part of the map in top left corner of designated html div. I can't figure out the source ...
0
votes
0answers
45 views

OpenLayers code for not showing intended area from Google Streets

Would anyone be able to help me with the following code? I have downloaded googleclient.htm world map and want to change it to display Australia only. So I have changed the max.Extent:new OpenLayers ...
1
vote
0answers
139 views

Changing Default Layer Switcher

How can I change layerswitcher properties(radio button) ? So I want to change just like drop down list ?
2
votes
0answers
269 views

Openlayers and Google Maps Api aren't work on Android Platform

I have application that uses OpenLayers, Google Maps Api and Geoserver My application is running at Web browser and when I try to run at Android tablet (using Phonegap), It runs but openlayers ...
1
vote
0answers
108 views

What are the pros and cons of each mashup baselayer? [closed]

I've been making some mashups recently in OpenLayers and find myself naturally favouring OpenStreetMap as a baselayer, I think this is mostly because I like the concept. I realised the other day that ...
1
vote
1answer
245 views

OpenLayers Rendering Error [duplicate]

I'm using QGIS to render some air quality modelling results. I'm having issues with the OpenLayers Plugin whenever I have another vector layer active. The plugin works if it's the only layer in the ...
0
votes
1answer
930 views

Geocoder of google maps on openlayer map

I'm trying to integrate the geocoder of google maps into my ol-map. There are a lot of similar questions asked. I tried out this: http://dev.openlayers.org/sandbox/topp/almanac/examples/geocoder.html ...
1
vote
1answer
106 views

Trying to display some data in OpenLayers - it's not erroring, just not loading :(

I'm trying to display some KML data on a map, using OpenLayers. Nothing complex - but it's just not rendering. Here's my javascript code var map; function init(element, kml) { map = new ...
1
vote
4answers
540 views

How do I stop the map at just one world/globe?

I am working on a project to put google maps layer and adding our data layers on top of it. using openlayers and google maps layer with out layer of top of it now the google layer has max resolution ...
1
vote
0answers
263 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. ...
2
votes
3answers
2k 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 ...
-1
votes
1answer
3k 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
140 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
672 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
821 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 ...
1
vote
2answers
782 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
153 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
370 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
107 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
1k 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
493 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
225 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
223 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
255 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.
4
votes
1answer
2k views

Overlaying WMS from Mapserver in OpenLayers with epsg:900913 from Google/Bing/OpenStreetMap

ADDED: Another curious effect is that no matter to what scale I zoom on the baselayer google/bing map, the WMS overlay is always the same-sized shot of MN. That is, as the baselayer map is scaled up ...
1
vote
1answer
106 views

Why does an OpenLayers map.getNumLayers() return 0 even though I've added a layer?

When I try the following code, OpenLayers returns a zero result. What have I done wrong, here? var map; function loadMap () { // Based on example code: view-source: // ...