0
votes
3answers
126 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
66 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
94 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
85 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
46 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
162 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
110 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
157 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
84 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
190 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
59 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
612 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
211 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
96 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
124 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
118 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
847 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
69 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: // ...
0
votes
0answers
63 views

Google API Premier for print provider?

If I try to print Google Map using GeoExt print provider, I got a blank PDF file. I read that Google doesn't allow printing Maps. So, if I use API Premier, will I be able to print it ?
6
votes
4answers
748 views

Best solution for printing Google Maps?

What is the best solution so far for printing Google Maps as a base layer of Vector layers in Geoserver/OpenLayers application ? I used to print WMS layers using GeoExt print page example, but when ...
3
votes
2answers
159 views

Can OpenLayers request different language tiles from map providers (eg Bing or Google)?

If I am in the US and my browser locale is en-US, I'll get English language maps by default from Bing. Same thing if I access Bing tiles with OpenLayers. If I change my country/region to (for ...
4
votes
3answers
282 views

Search by street name/postcode in OpenLayers

Can anyone help me search by street name in OpenLayers? I essentially want to be able to search fir streets/postcodes in openlayers in the same way I can search on google maps. Is this possible. ...
2
votes
1answer
426 views

Google Maps/ OpenLayers only rendering top left tiles

I'm seeing a weird issue with Google Maps and OpenLayers. When loading a page as shown below, only the two top-left tiles render, leaving the rest of the map blank. I looked in the Network tab in ...
0
votes
1answer
717 views

Openlayers zoom limit with Google Maps

When using Openlayers I am unable to achieve the same zoom level that Google Maps allows. For example, if I embed a Google Map in my web-page I can zoom in to the building level in a city. When using ...
0
votes
0answers
103 views

OpenLayers and GMap gives strange pop ups

We use vOpenLayers which is a direct derivative from the OpenLayers.js library. As soon as we embed google maps we get from time to time (not repetativ, not systematic) these popus. Google maps ...
2
votes
1answer
529 views

Problem with layer order in OpenLayers and Google styled maps

I'm using OpenLayers with Google styled maps. My biggest problem is KML polygon layer which needs to be under roads layer but it isn't (see prtscr). What am I doing wrong? This is my coding: ...
2
votes
2answers
371 views

how to buffer inside a polygon in Javascript

I'd like to know if it's possible to buffer a polygon on the INSIDE only using OpenLayers and other Javascript tools (e.g. jsts). Here's what I found about the topic in general: Buffering INSIDE a ...
1
vote
1answer
587 views

map extent to show specific country

I use openlayers in my web app.I want to set map extent on specific country to show cities of that country but i don't know which option of map can show specific country in map!. How can i show ...
1
vote
0answers
372 views

OpenLayers: Click event to display position shows Uncaught TypeError: Cannot call method 'getLonLatFromPixel'

I have created a map using openlayrs, and put a click event to display its position in screen, when i clicked got an error message like Uncaught TypeError: Cannot call method 'getLonLatFromPixel' of ...
2
votes
2answers
582 views

Map resize displays google layer at incorrect zoom level

This is a screenshot of the icons in the wrong position due to the google layer showing the wrong zoom level. This is how it should look, and how it does look after the user pans the map. How does ...
0
votes
1answer
178 views

EPSG:3035 wms layer over google maps or OSM

Is it possible to put EPSG:3035 wms layer over google maps or OSM? I managed to do this, but my wms layer is placed differently then google maps or osm. I assume, google maps/osm uses different ...
1
vote
0answers
272 views

Using Google Maps with OpenLayers for some zoom levels

I've had a search on here to see if this has come up but I've not found anything, sorry if this is a duplicate. I'm trying to use the Google Maps layers with an OpenLayers site, but not for all zoom ...
4
votes
2answers
266 views

Openlayers - Vector layer polygon doesn't move in-synch with Google V3 baselayers

When a polygon is drawn on the map and the map is dragged, the position of the polygon relative to the GM V3 base changes. function init() { var map = new OpenLayers.Map('map'); var gsat = ...
1
vote
0answers
192 views

OpenLayers - Switching to Google Basemap causes a flicker as it zooms to extent

I created and example based off of the spherical-mercator example example and placed it here. I made the bing road layer the default. If you zoom in on a location and then switch to a google layer ...
3
votes
1answer
752 views

OpenLayers - Vector Layer and Google Maps - vector layer and google layers don't seem to be in sync when zooming on Chrome

I am working with a Google Layer and a vector layer in OpenLayers. I was wondering if anyone else noticed any problems with Chrome displaying Google Maps layers on OpenLayers? It seems that when I ...
2
votes
1answer
635 views

OpenLayers: add a listener to a single polygon

I want to add a listener to a single polygon. Currently, I am trying to add one that makes a polygon opaque when you click on it, but I should be able to add any general listener. OpenLayers.Layer has ...
1
vote
1answer
1k views

GeoExt (ExtJS + OpenLayers) not displaying Google Map

I've just started exploring GeoExt. It displays all the map controls, Google Logo and "Terms of Use". But the map is not rendered. I'm using firebug, and no JavaScript errors are generated. I'm using ...
3
votes
1answer
617 views

Why does my WMS layer overlap the Google Maps v3 logo?

I'm using Google Maps v3 as a base layer and on top of that I create an overlay pointing to my WMS (streets and avenues). A few months ago all works fine, my WMS layer was not overlapping the Google ...
5
votes
2answers
1k views

Layer misalignment with UK Ordnance Survey data and OpenLayers

I am in the UK and my QGIS projects are based on UK Ordnance Survey mapping data and are set up in EPSG:27700. Whenever I have tried dropping an OpenLayers layer (Google Satellite/Bing Maps Aerial) in ...
1
vote
1answer
3k views

Computing Shortest Distance using Google Map v3 and Openlayers

How to compute shortest route between two points in google map that user selects and provide all routes from source to destination in Transport system?
3
votes
1answer
132 views

Can I customize a Google Maps layer in terms of content?

I don't want all features that come with the Google street layer. I just want basic infrastructure like roads, national parks, cities, streets with their names, etc. Everything that is public is OK. I ...
1
vote
2answers
368 views

Client Zoom in OpenLayers with Google layer

I'm displaying some features on a map, but the features are somewhat on the small side and can't be easily viewed at default zoom levels. Using the Client Zoom example, I was able to enable acceptable ...
1
vote
2answers
402 views

Set up the center of a map with Google Layer as basemap in OpenLayers and GeoExt?

I looked on similar questions but in vain. The map is working fine but has a center of (0,0) as returned in the Firebug console not (-8, 32) that I want. I did the projection transformation.. Here is ...
1
vote
1answer
276 views

I wanting to reproject the vertices of my polygon. I have been able to achieve this for the bounds but having a bit of trouble with the vertices

I wanting to reproject the vertices of my polygon. I have been able to achieve this for the bounds but having a bit of trouble with the vertices. function onFeatureModified(event) { ...
1
vote
1answer
521 views

Googlemaps Layer on Openscales

I'm using openscales in a web mapping project, i would like to add a Google maps layer, i know that there's some licence problems , but i don't care for these licence issues, i'm looking to add ...
2
votes
2answers
653 views

OpenLayers with Google, Bing & MapQuest - Does it violate the terms of service?

to my understanding, you are not allowed to use the Google Maps API to display Google and Bing maps (Layer Toggle) (From the terms of service). However, I'm unclear if I can have an OpenLayers map ...
1
vote
1answer
610 views

How to unproject coordinates on a Google map with Openlayers?

Below is my code and a pic. When I finish making my circle on a Google map with Openlayers, I get the following coordinates but I want coordinates like E.G: bottom: -27.762124575762 left: ...
2
votes
4answers
4k views

How to use Google Maps V3 Geocode with Openlayers

How to use Google Maps V3 Geocode with Openlayers. Below is my code but the function does not execute when I try to integrate it with Openlayers. This works with my original google v3 file. Below is 2 ...
3
votes
2answers
298 views

Third party base layer other than Google map

Can we use third party base map (images tiles) for displaying vector data?, like we use google map as base layer for displaying vector data in OpenLayers application.
0
votes
1answer
470 views

Any example for Google like the bing OpenLayers/examples/bing-tiles-restrictedzoom.html?

I would like to restrict zoom levels in Open Layers for a Google Map. A bing example shows how to limit the extent of the bing tiles: var road3 = new OpenLayers.Layer.Bing({ name: "Road tiles ...

1 2