JavaScript Toolkit for Rich Web Mapping Applications

learn more… | top users | synonyms

1
vote
2answers
567 views

How to print a vector layer over Google map? “Physical Printing”

I use Geoserver, Openlayers, Extjs and GeoExt to build an app. I am trying to get vector layer on Google map printed with pop up a Print dialog, I tried : var targetElement = Ext.getCmp('mapPanel'); ...
0
votes
2answers
1k views

Unable to reflect JSON in grid

I am trying to fetch the data from JSON and display it onto the grid. The store has all the JSON data, but I it is not visible in the Grid. The grid comes out completely blank. This is the ...
0
votes
1answer
251 views

PopUps for all the Feature layers

I am trying to create GeoExt action button to fetch the feature info from all the layers. I am still getting the info for my point features but I am getting nothing for the usa:states, that appears in ...
1
vote
2answers
600 views

Openlayers controls outside the map

I want put OpenLayers controls outside a map but dont know how. I find this example http://openlayers.org/dev/examples/editingtoolbar-outside.html but its not what i want. I have a button and want ...
0
votes
2answers
614 views

how to create gis like Uster?

I downloaded qgis, geoserver, openlayers, ext, geoext, qgis-web-client and osgeo. And i have map shape files. i would like create website like this site. i need help. can you send tutorial links thank ...
1
vote
1answer
657 views

Creating a GeoExt Action from OpenLayers Function

I am trying to create a GeoExt function out of this OpenLayers function, which displays the getFeatureInfo. I was able to create this GeoExt.Action() but it does not give me any output. Any idea ...
1
vote
1answer
950 views

How to fix org.mapfish.print.JsonMissingException: attribute [spec.pages[0].mapTitle] missing?

I've installed GeoServer's map printing module. I've tested that it works by following the instructions here. Now, I'm using GeoExt.PrintMapPanel, and my code is as shown below: var mapPanel = new ...
0
votes
1answer
529 views

add grid to GetFeature Info tool

I have added the GetFeatureInfo Tool to my Viewer but the PopUp does not have a grid in it to display the Feature Info neatly. How do I get the grid layout in the Feature Info PopUp, like the one ...
2
votes
1answer
761 views

Connect JSON to GeoExt Application

I am returning a JSON to a GeoExt app and this is the code that is collecting the return, var control = new OpenLayers.Control.Click({ trigger: function(evt) { ...
1
vote
2answers
638 views

Popup is stationary does not move with the location

I am using the GeoExt example and used the same code in my application. This is my code The problem I am facing is that the Popup box in my application on http://128.196.142.94/geo/test/test.html is ...
1
vote
1answer
2k views

Sencha / Extjs 4 with GeoExt 2 - How to use

I'm working on Sencha Architect 2 - extjs 4 i found out that GeoExt doesn't work with extjs 4. but i really need to use it so i searched and end up here https://github.com/geoext/geoext2 I'm trying ...
1
vote
0answers
348 views

How to get feature geometry?

I want to have a gridPanel with feature geometry. But i cant image how to do this. I have a FeatureStore st = new GeoExt.data.FeatureStore({ ...
0
votes
1answer
149 views

removing multiple additions to popup

I am using the GeoExt example and this is the js code and trying to get rid of the multiple lat and lon that get added into the PopUp on multiple clicks. Not sure which is the code that I need to ...
3
votes
1answer
1k views

Call GeoExt action by click ExtJs button

I have a problem. I have a ExtJs button and want to call anyone GeoExt action. For example this {xtype:'tbbutton', cls: 'x-btn-icon', id: 'testbutton', ...
2
votes
1answer
1k views

Toggling feature visibility in Openlayers + GeoExt

I'm setting up a small web mapping application using PostGIS + mod_tile + FeatureServer + OpenLayers + GeoExt, each of which I'm learning as I go. In addition to the base layer, I've pulled in a few ...
1
vote
2answers
1k views

How to make WFS layer with GeoExt?

Can u help me with WFS on GEOExt? Im read tutorial and see this code. proxy: new GeoExt.data.ProtocolProxy({ protocol: new OpenLayers.Protocol.WFS({ url: "/geoserver/ows", ...
1
vote
1answer
166 views

File Upload with GeoEXT FormPanel

I have a GeoExt form and want to do file upload here. But i never work with GeoEXT. I have this. buttons: [{ text: 'Загрузить', handler: function(){ if(fp.getForm().isValid() && ...
1
vote
0answers
164 views

How to get server info from WMSCapabilitiesStore

I am using the following code to retrieve a list of data layers hosted on a WMS Server: var store = new GeoExt.data.WMSCapabilitiesStore({ url: fullUrl }); // Add some callbacks to handle various ...
2
votes
0answers
381 views

GeoExt.Popup and get GID

I'm using GeoExt.Popup to create a popup when a user click on an WFS (point) on the map. When the user click on a point on the map I want to send the GID (primary key from DB) to a servlet or JSP to ...
1
vote
1answer
3k 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 ...
0
votes
1answer
980 views

Using Google API 3 with Openlayers Brings POPUP [duplicate]

Possible Duplicate: Google Maps layer copyright popup every time map updated / user input I recently upgraded from google map api v2 to v3. It was working quite fine previously but now it ...
1
vote
1answer
890 views

OpenLayers Scaleline always wrong in my virtual star map

I got a problem for the scale line when I using openlayer to show my "star map". Basically, I give a set of 2D coodinates (X,Y) for each star, and generate the map using map server. Now the map can be ...
1
vote
1answer
2k views

OpenLayers: Load Markers dynamically from Text file

I am trying to load set of markers dynamically from a text file using OpenLayers.Layer.Text. The problem is that no markers is shown after rendering the page. Below is the JavaScript file that is ...
1
vote
2answers
1k 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
556 views

GeoExt printPage cannot handle WFS vector features

I recently added the print function to my GeoExt web application, using <script type="text/javascript"src="http://localhost:8080/geoserver/pdf/info.json?var=printCapabilities"></script> ...
1
vote
0answers
371 views

GeoEXT using WFS-T draw on point Layer

Hello this is my first post. I'm new with openlayers and geoext and i'm facing a problem while trying to add a new record in a point layer via wfs-t the code is below (it is from ...
0
votes
1answer
563 views

How can save and restore my map's extent with GeoExt?

I'm using GeoExt with OpenLayers and trying to save the extent of the map. while exploring the page, users can be able to save the extent and restore via their browsers. Here is the point that I'm ...
3
votes
1answer
1k views

printing openlayers map

What i've got is a map served by the tilecache and shown by openlayers and geoext. Now i need to print this map, so what i've done is: made a button which creates (window.open()) a new window with ...
4
votes
2answers
2k views

How to get linestring length while drawing?

I've got a control to draw lines: new OpenLayers.Control.DrawFeature(vecLayer, OpenLayers.Handler.Path, { callbacks : { // "done" : doneHandler, "point" : ...
2
votes
1answer
238 views

Disable layer checkbox if no geometry on that zoomlevel (source=wms)?

I have a map application using GXP which displays different data coming from different WMS sources. Some geometry is only available on certain zoomlevels (available via MaxScaleDenominator on the ...
0
votes
2answers
1k views

GeoExt Tree Example Modification

The example provided in http://api.geoext.org/1.0/examples/tree.html shows all overlayes are checked but how do I make these overlayes unchecked while page is loaded?
0
votes
2answers
684 views

Handling geoExt popup when one or more layer fails to load

GeoExt info Popup is very easy to use but when one or more layer is missing or fails to load Avoiding Pink Tyles. The popup is not filled with the values. While I can see that request is sent to the ...
1
vote
0answers
193 views

WFS getFeature Request Blank XML for some layers

I have following url request to geoserver. the first request results blank page but the second page results in number of feature count. Why it there blank xml for some layer while other gives number ...
1
vote
1answer
265 views

Displaying “numberoffeatures” in grid

How to display numberoffeatures in map using geoext on grid? Ext.onReady(function() { app = new Ext.Viewport({ layout: "border", items: items ...
3
votes
1answer
488 views

Any Open Source Extensions to ESRI JSAPI?

I'm looking for some functionality beyond what ESRI already provides in the JSAPI. For example, the ability to display the LOD in a tooltip on the zoom control. It seems like there should be a ...
3
votes
1answer
1k views

OpenLayers.Layer.Vector not working?

I'm struggling to get my vector layer working. The wfs works as I have tested it by creating a wfs layer and adding it to the map, now I'm trying to display a vector layer with the results of a search ...
1
vote
1answer
2k views

WFS layer not showing? [duplicate]

Possible Duplicate: How to add GeoServer wfs layer on OpenLayers? I'm really new to this and am making a map for a university project, I can't get my WFS layer to show up on my map, the WMS ...
0
votes
1answer
512 views

Google Map layer loads tiles even if this layer is disabled in OpenLayers

Sorry for cross posting I've asked this question in OL mailing list, but not get response yet. It is very important for me to resolve this issue. I've made a little example that reflect my problem. ...
1
vote
2answers
930 views

GeoExt Legend Modification To Include Feature Count

GeoExt has Legend capability but is is quite basic which shows only feature types like in example http://api.geoext.org/1.0/examples/legendpanel.html. How could it be modified display legend with ...
2
votes
2answers
986 views

GeoExt Popup is blank

I am doing the sample example from OpenGeo WorkShop. It's about creating simple popup. I get popup but with blank no feature information? I am using geoserver with geoext. controls.push(new ...
2
votes
0answers
1k views

GeoExt (ExtJs + OpenLayers): bug in IE9 when try to change map_panel from container A to container B

Techonology: GeoExt, which combines ExtJS with OpenLayers I am trying to dynamically change the app layout by changing a map_panel from container A to container B, and vice verse; basically, for each ...
2
votes
1answer
257 views

What are necessary GeoExt dependencies?

Is use of OpenLayers-2.11 ,GeoExt-1.1 and ext-4.0.7-gpl supported . I have only included ext-all.js in the script src. Should I include others too?
6
votes
3answers
813 views

Can we use GeoExt Freely?

I want to know, can we use GeoExt freely? is there any need to purchase some license for using GeoExt ? Actually i am already working with free Open source tools (OpenLayers+GeoServer) for my webMap ...
2
votes
0answers
732 views

Cannot Edit Features of PostGIS Layers in OpenGeo GeoExplorer

I admit I originally posted the question here: http://getsatisfaction.com/opengeo/topics/cannot_edit_features_of_postgis_layers But due to no response and not finding a solution, I thought I'd try ...
7
votes
2answers
2k views

Can GeoEXT 1.0 be used along with ExtJS 4.0?

On the GeoExt website their tutorial page has some instructions on how to setup up a application to use GeoEXT. This is the page I am referring to. It mentions that you should download GeoEXT 1.0 and ...
6
votes
3answers
3k views

Difficulty to display WMS and Googlemaps layers using Geoext and ext

i have the following code on my html file: // World Geodetic System 1984 projection var WGS84 = new OpenLayers.Projection("EPSG:4326"); // WGS84 Google Mercator projection var ...
1
vote
1answer
1k views

How to add mappanel back to container once removed?

I am trying to test following scenario: A Ext.Window has one gx_mappanel item; both Ext.Window and gx_mappanel are stored in variables; One button is to remove gx_mappanel item from Ext.Window ...
3
votes
1answer
532 views

How can I fetch related db records in a GeoExt webapp?

I am working on a web app which uses GeoExt, Geoserver, and PostGIS. I would like to be able to identify features in this applications using the wms getFeatureInfo and then access a features related ...
0
votes
1answer
284 views

Trouble with Request URLs sent by QueryPanel.js

I use the GeoExt QueryPanel, which I got working so far. I configured an osgeo proxy on my Apache Server, I use the override-ext-ajax.js and have the OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; ...