JavaScript is a prototype-based, object-oriented scripting language that is dynamic, weakly typed and has first-class functions.
0
votes
0answers
13 views
creating map not working
am following this tuto to create a map on web with geoserver, GeoEXT, EXTJs, and openlayers here's the linki downloaded ext 4.2.0, openlayers 2.12 and GeoEXT 1.1, when i try to show the map : ...
1
vote
0answers
18 views
Want a transformation box after a user draws a polygon
I have built an application which allows users to draw a polygon inside another polygon. The two polygons are in different layers for some application specific reasons. After the user draws a polygon, ...
0
votes
0answers
12 views
MapInfo8.0 is not letting me edit layers imported from the server? [duplicate]
I have imported 4 layerts from my server for use in MapInfo, when i went to edit these layers the edit tool for each of these layers is grey and non accessible.
Any suggestions would be greatly ...
1
vote
0answers
13 views
Updating leaflet variable using dajax?
Really, I think this a somewhat easy question for someone with some more experience in javascript programming.
I have a Django app to map some locations using leaflet. I'm using dajax for some on ...
2
votes
0answers
22 views
javascript WKB to WKT function
Turns out json ain't so good at transporting binary data. But with HTML5, XHR2 is now capable of transferring blobs cleanly. I'm looking to transfer binary geometry (to save bandwidth) and decode it ...
0
votes
0answers
17 views
Getting “pointer” cursor at mouseover for rules/symbolizers based clusters in OpenLayers
I successfully used the AnimatedCluster plugin for OpenLayers. My codes uses OpenLayers.Rules and symbolizers. How can I get a "pointer" like mouse cursor when hovering over a cluster of features?
My ...
4
votes
0answers
32 views
Is it possible to implement sticky move tolerance in a ArcGIS JavaScript API application?
We are working on a project in ArcGIS JavaScript and is going fine. We want to add sticky move tolerance to our project so it will not be so easy to move features on the map.
Is it not possible to ...
1
vote
1answer
32 views
How to upload polygon data for appending to a geodatabase via a JS API web application
After a many hours of research, I am having a hard time determining the feasibility of an application I am trying to build.
Basic proposed functionality is: user logs in, uploads polygon (either ...
0
votes
0answers
11 views
How to add offset to layer in OpenLayers?
As the title suggests,I have GeoJSON vectors on OpenLayers map where user should add X/Y offset (i.e 5 meters north,5 meters east).I plan to add some control for it.
Since vectors are drawn map with ...
0
votes
0answers
24 views
SLD based selection on WMS layers - How to set the new style of clicked point?
I'm trying to follow this example:
http://openlayers.org/dev/examples/SLDSelect.html
When I click on the point, its color should be changed, here is a piece of my code:
control = new ...
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. ...
7
votes
1answer
106 views
Instructor led Web mapping development courses?
Hey guys I have been messing around with programing for a while now and have gotten proficient with Python and have some interest in HTML 5 and Javascript. I have recently received a request for an ...
2
votes
2answers
68 views
ArcGIS JavaScript API geometry service offline capabilities
Lately I've been going through ArcGIS JS API samples, but from what I've seen, it looks like all geometric functions always go through server, and use server side REST functions. There is no option to ...
0
votes
0answers
14 views
openlayers addUniqueValueRules default style not displaying
I'm trying to alter the colour of displayed points using addUniqueValueRules in OpenLayers. If I don't use addUniqueValueRules all my points display the default colour (green). However, when I add ...
0
votes
0answers
30 views
Reset style on select Leaflet polyline
Using Leaflet, how can I reset a polyline to it's previous color after it was selected? I have the following function that has been applied to each polyline when constructed:
function ...
0
votes
0answers
30 views
OpenLayers generate random polygon
I have a world map. I need randomly to generate polygons and render them on map.
I have no problem with rendering, but can anybody suggest how to generate polygons with random geometry? (I need n ...
1
vote
1answer
47 views
ARCGIS JS API map.centerAndZoom()
I'm trying to get the map to move and zoom in to a point when a function is executed. Point gets selected, but without zoom. Interestingly when I zoom in to a random location and then execute the ...
1
vote
2answers
37 views
simplify point geometry
I have a great amount of points and I need to show them on map. I am using OpenLayers. Is it possible to simplify point geometry in order to speed up the process of rendering?
0
votes
0answers
24 views
OpenLayers Vector Line Feature hard to select
I have a measurement control on an OpenLayers map which allows the user to (unsurprisingly) measure lines and areas on the map. They draw the line/area they want, OpenLayers does the measurements ...
0
votes
0answers
27 views
Polygon colors overlap when zoom in the google map [closed]
I have posted this question in StackExchange previously with a different heading, but did not got much response. Posting this time again with some more clarification.
I have implemented a google map ...
1
vote
1answer
52 views
How to convert EPSG:2163 coordinates to wgs84 in javascript
I'm currently testing a web app that calculates EPSG:2163 coordinates based on user interaction with a map created through d3.js. I wish to convert these coordinates to WGS84 in order to use various ...
1
vote
0answers
32 views
OpenLayers IE performance issues
I have an Openlayers map set up, it is all working well except in IE7 (which most of our users have) where performance is slow.
I load in several layers of vector features and then switch these layers ...
1
vote
1answer
28 views
Display mouse position from graph on a map
i need to develop a web application which shows a map, that displays a GPS Route.
So far I can do this using Openlayers or ArcGIS Server.
Now I want to add an interactive graph below the map. In this ...
1
vote
0answers
16 views
upgrade from 1.3 to 3.3 javascript api for arcgis with jsviewer [duplicate]
I try to use jsviewer (v.1.0) in my application , but it doesn't work with JSAPI version uper than 1.3 . How can I work with both :jsviewer and the 3.3 JSAPI version?
Thank you in advance
1
vote
0answers
55 views
User defined Polygon disappears with featureadded and selectfeature
I am trying to achieve the following functionality:
1. User draws a polygon.
2. Once complete, fetch features in that polygon( Using WFS).
3. On Select polygon, show the features that intersect that ...
0
votes
0answers
56 views
WFS Transaction geoserver Openlayers POST method
I tried to make a transaction data using WFS protocol with the save strategy and when I click on the save button and fetch with firebug I figure out that the POST method didn't receive any response ...
-3
votes
1answer
41 views
What is the best way to develop mapping app for analysis and queries? [closed]
I would have some polygons and points data, and I want to develop api which will allow users to perform analysis and queries like demographic data buffered 20km around some address etc. So, those ...
0
votes
0answers
26 views
Simulating Random Movement Google Maps [duplicate]
Hi i have a pair of longitude and latitude coordinates and i would like to make a marker move on a map the path that it moves should be randomly generated however i want the marker to move 1 km every ...
0
votes
0answers
20 views
OpenLayers is not adding marker to my map
I have an OpenLayers map and I create it using a JavaScript function. I then have a button which when pressed calls another JavaScript function which has code to add a marker to the map.
For some ...
4
votes
1answer
55 views
Openlayers/Proj4js not transforming coordinates the first time
Something seems to be going wrong with my transformations. Before I added proj4js, transforming a coordinate went fine:
new OpenLayers.LonLat(-1.0, 52.0).transform(new ...
1
vote
0answers
40 views
CQL Filter on WMS [duplicate]
I have CQL_Filter which filters WMS layer and displays only the points I asked for,
The problem is that all features even the hidden, keep showing its popup when I click on their spot.
So, as I ...
4
votes
1answer
133 views
PrintTask in ArcGIS Online JS Api
I'm using the PrintTask() function from the ArcGIS Online API. Works like a charm...untill you add your own graphics.
When I don't run the addedAskedSymbolsToMap function in the code below, and only ...
0
votes
1answer
35 views
jquery communication with arcgis services
I am working with the ArcGIS JavaScript API for my application. My app users are stored in a table published in a map service. Whenever a user wants to connect to the app, he needs to provide a ...
0
votes
0answers
45 views
Move OpenLayers.Popup up to 10 pixel and left 15 pixel?
good afternoon, I have a popup that is in the map and I want only move 10 pixels high and 15 pixels to the left, the problem is that when you change its position in latitude and longitude, is in ...
2
votes
1answer
50 views
URL “ http:// <mygisServer>/ArcGIS/rest/service/GPTask/MapServer/jobs/<jobid>” not found in the ArcGIS Server?
I am Using ArcGIS Server 10.03 SP3. I created a geoprocessing service in the server which returns a result map service. I successfully created the gp service and map service with same name. I need to ...
5
votes
1answer
90 views
Possible ways to display maps offline, inside mobile hybrid app
I want to develop a mobile hybrid application to run on both Android & iPhone devices in which i want to display my own map data. I have the SHP files with the data i need. I have Geoserver and ...
2
votes
3answers
104 views
get latitude & longitude as per address given for leaflet
In my project I am using leaflet to display points.
I am getting address from my database & want to show point for that particular address.
I dident found anything which will give me latitude ...
1
vote
1answer
34 views
openlayers point intersection
For example, I have 2 points and I want to know if they intersect. If yes, I need to delete first points. Should I use OpenLayers .intersects method? Because it greatly depends on zoom level.
Or ...
7
votes
3answers
118 views
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing)
I have ArcGIS 10.1 installed with the web adapter for IIS. I've added a config file to the root of IIS7 to enable Cross Origin Resource Sharing (CORS) as per this page. I've pushed the cors enabled ...
0
votes
1answer
58 views
ESRI JS API - don't trigger onClick event when panning Map
I have a custom onClick handler for my map that is meant to add a point wherever the map is clicked. I'm finding that this function is triggered even when I click the map to pan. Is it possible to ...
0
votes
1answer
34 views
Why won't this mapbox map load into a DIV container?
All,
For the life of me I can't figure out why I can't load a map into a CSS template I'm trying to customize.
I've placed a fiddle here:
http://jsfiddle.net/mapbaker/Du7zq/10/
Basically I'm ...
0
votes
0answers
57 views
OpenLayers map not showing on my JQuery Mobile site
I have an OpenLayers map which is suppose to be made using variables from a PHP array once a button is clicked on my JQuery Mobile site. For some reason however, it is not showing on my page when I ...
1
vote
1answer
45 views
Create buffer around point in LeafletJS?
I am using LeafletJS. I want to create buffer around point. after Selecting a point buffer radius will be specifed by user in feet.
After searching of awhile I found this link of JSTS. does JSTS ...
0
votes
1answer
112 views
How to draw straight lines inside google map polygon [closed]
I have created a google map using google map javascript API V3. I am drawing number of zipcode polygons. The polygons are of different colors depending upon some condition. Now I want to draw straight ...
0
votes
0answers
28 views
How do I create an openlayers image layer using a layer already loaded?
so I am trying to add an image layer after using javascript's img.load. I use this because I want to check some things with the image first. Then I want to add it to my map. My issue is that I do not ...
2
votes
1answer
92 views
call child div function from parent (not using window.opener)
This is a a Javascript/JQuery question that is directly related to the ArcGIS Javascript API...
I have a map div created using a 'data' tag in HTML, which becomes visible on a button click.
(I'll ...
1
vote
1answer
49 views
How do I create a basic image layer as a base layer in OpenLayers?
I'm trying to create a map using OpenLayers which uses a png image as a base layer but I'm having a bit of trouble. I'm not too familiar with OpenLayers as I have only come across it today and thought ...
0
votes
0answers
44 views
Dojo Gantt Chart doesn’t work properly wqith ArcGIS API 3.3
I am using a Dojo Gantt Chart in ArcGIS javaScript API3.3.
and it seems that it does not work properly with the API3.3
popup menu which appears when you hover over the task or project; it pops up too ...
1
vote
0answers
37 views
Interpreting Firebug results on ESRI Javascript feature layers in the NET tab
This was cross-posted to the ESRI Javascript API forum yesterday.
I need help in interpreting what I am seeing and wondering why I'm seeing duplicate features.
I'm using this example: ...
0
votes
1answer
92 views
openlayers how to get feature info on form submit?
I have an OpenLayers pop-up with a form on selectFeature (WFS-T). Can I recover the feature.attributes in the form's onSubmit?
e.g: the form in the popup
var content = '<form ...