andresrivero / gmaps-utility-gis Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gmaps-utility-gis
Automatically exported from code.google.com/p/gmaps-utility-gis
What steps will reproduce the problem?
1. add a layer to the toc widget using code.
2. Load the application
3. Step through TOC.js _RootLayerTOC _getLegendInfo function
What is the expected output? What do you see instead?
Expected to load legend from the layer instead of the arcgis legend tools.
What version of the product are you using? On what operating system?
2.09, Windows 7.
Please provide any additional information below.
I updated the "postCreate" function to make sure the rootLayer is loaded before
calling the _getLegendInfo function.
Here is the new code that fixes the bug in TOC.js line 620.
-------------------------------------------------------------
// extenstion point called by framework
postCreate: function () {
if ((this.rootLayer instanceof (ArcGISDynamicMapServiceLayer) ||
this.rootLayer instanceof (ArcGISTiledMapServiceLayer))) {
//check if the layer is loaded yet, if not, add a listener to wait
if (this.rootLayer.loaded) {
if (this._legendResponse) {
this._createRootLayerTOC();
} else {
this._getLegendInfo();
}
}
else {//layer not yet loaded, add listener
this.rootLayer.on("load", lang.hitch(this, this._getLegendInfo));
}
} else { //not servicelayer
this._createRootLayerTOC();
}
},
-----------------------------------
Original issue reported on code.google.com by [email protected]
on 10 Apr 2014 at 8:02
When I setup noLegend :true
module dont show any sublayers.
I think its treat it like noLayers:true was set.
Original issue reported on code.google.com by [email protected]
on 20 Nov 2012 at 1:34
What steps will reproduce the problem?
1. Use the layer query functionality, as seen in the example layerquery.html
2. Change the query where clause to where: "STATE_NAME = 'Utah'",
3. Run the example
What is the expected output? What do you see instead?
I didn't expect to see the tile borders. Is there a way to change the opacity
of the tile border when running a query. I tried using similar code to query
and shade a states polygon layer and the results show a lot of really busy
looking tile borders.
What version of the product are you using? On what operating system?
I can't reproduce this in firefox, but you can see it in IE 8. I'm running
Windows XP and using code from your latest build.
Please provide any additional information below.
Thanks so much for the hard work on this library! I'm attaching an image of
what I see when querying a states layer.
Original issue reported on code.google.com by [email protected]
on 14 Oct 2010 at 9:14
Attachments:
What steps will reproduce the problem?
1. I am using ASP.NET MVC 4 Razor syntax project with VS 2010 and adding the
ArcGIS JS API into a view. Then adding the TOC.
2. In Chrome, the table of contents appear, but when I click to collapse the
TOC, nothing happens and I get the error stating "Uncaught TypeError: Object
#<Object> has no method 'getEnclosingWidget' - TOC.js:506".
What is the expected output? What do you see instead?
The TOC collapses and expands when clicking on the "+" or "-". Instead nothing
happens and I get the error.
What version of the product are you using? On what operating system?
2.09
Please provide any additional information below.
I have resolved the issue by modifying the code base for the TOC.js with the
following.
add "dijit/registry" in the require statement, add registry into the function
call and change the line 506 from
"if (t == this.checkNode || dijit.getEnclosingWidget(t) == this.checkNode) {"
to
"if (t == this.checkNode || registry.getEnclosingWidget(t) == this.checkNode) {"
Now it works as expected. I have attached the updated source that works.
Original issue reported on code.google.com by [email protected]
on 23 Oct 2013 at 4:58
Attachments:
I'm using ArcGis Server 10.1 on Windows Server 2008 R2 64bit.
What steps will reproduce the problem?
1. trying to use the TOC standard widget but no symbol legend is displayed
2.
3.
What is the expected output? What do you see instead?
I see the cross next to the layer name but clicking on it has no effect and no
symbol is displayed
What version of the product are you using? On what operating system?
I'm using Javascript API 3.0 installed locally on the server
Please provide any additional information below.
I also tried the inline version with no success. Any other experienced it?
Original issue reported on code.google.com by [email protected]
on 8 Aug 2012 at 8:29
When I change the arcgis jsapi from 3.0 to 3.3 version in example "Google Maps
Layer.htm" under tag 3.4, the initial level of the map goes wrong( level=20,
center=0.00.. 0.00). It seems like that the initExtent set on map no longer
has any effect.
That's to changge
<script type="text/javascript"
src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3"> </script>
to
<script type="text/javascript"
src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3">
</script>
What the reason and how to solve?
Original issue reported on code.google.com by [email protected]
on 7 Apr 2013 at 8:46
The SQL LIKE Fusion Tables API will be deprecated on Jan 14th. This patch
updates queryFusionJson to use the Fusion Tables API v1. An API key
{googleApiKey} is required.
Original issue reported on code.google.com by [email protected]
on 7 Jan 2013 at 5:47
Attachments:
Purpose of code changes on this branch:
When reviewing my code changes, please focus on:
After the review, I'll merge this branch into:
/trunk
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 9:22
1. Call 'enableMapTips' as documented.
2. See that the opts object is not passed to the constructor.
3. See that the onAdd function adds styles directly to the tooltip div.
Fix 1: pass the options object to the constructor.
Fix 2: let users pass a CSS class name to the options:
var mapTipOptions = {
...
className: 'mapToolTip'
}
google.maps.FusionTablesLayer.prototype.enableMapTips = function(opts) {
opts = opts || {};
var maptip = new FusionTipOverlay(opts, null);
...
function FusionTipOverlay(opts) {
...
this.style_ = opts.style || {};
this.className = opts.className || '';
}
FusionTipOverlay.prototype.onAdd = function() {
var div = document.createElement('DIV');
if (this.className) {
// use user style
div.className = this.className;
} else {
// no style to use, so create fallback style
div.style.border = "1px solid black";
div.style.position = "absolute";
div.style.whiteSpace = "nowrap";
div.style.backgroundColor = "#ffffcc";
div.style.fontSize = 'x-small';
}
if (this.style_) {
// override with style object passed in options
for (var x in this.style_) {
if (this.style_.hasOwnProperty(x)) {
div.style[x] = this.style_[x]
}
}
}
Original issue reported on code.google.com by arthurclemens
on 26 Jan 2012 at 11:19
Hello:
We've noticed that this library is still using 102113 to project ArcGIS Server
images on top of WebMercator Google Maps. This will probably work for a while,
but ESRI has been using 102100 for quite some time as its SRID for WebMercator:
http://spatialreference.org/ref/sr-org/esri102100/
http://resources.arcgis.com/en/help/arcgisonline-content/index.html#//011q000000
02000000
We thought you might want to update the library. Thanks - mike
Original issue reported on code.google.com by [email protected]
on 1 May 2014 at 2:13
What steps will reproduce the problem?
1. Draw polygon on graphic layer
2. Panning the map
3. zoom in and out
What is the expected output? What do you see instead?
Polygon should be placed on the same location where I draw.
The same polygon measurements should appear in comparison to Bing maps(Bing
maps uses the same Spatial Reference as Google - 102100).
When zooming or panning the polygon should remain on his original position
What version of the product are you using? On what operating system?
Windows 7 64 bit.
/svn-history/r275/trunk/gmapslayer
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2011 at 3:06
I am using ArcGIS Server 10 with JavaScript API 2.6. I am using SSL.
What steps will reproduce the problem?
1. Without token, every thing is fine.
2. As I add token (after security enable in ArcGIS Server), the
layers in TOC repeats and ledgent is lost
3.
What is the expected output? What do you see instead?
I want single set of layers displayed in TOC not repeated twice. Works fine
with out token
What version of the product are you using? On what operating system?
Windows 2008 server (64 bit) (production)
Windows 7 PC (32bit) (Test) -- problem here so not loaded to server yet
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2011 at 6:23
Attachments:
What steps will reproduce the problem?
Examples in documentation no longer work
What is the expected output? What do you see instead?
Working examples
What version of the product are you using? On what operating system?
latest release in the trunk:
http://gmaps-utility-gis.googlecode.com/svn/trunk/fusiontips/examples/fusiontips
.html
Please provide any additional information below.
version of library modified to use Fusion Tables API v1.0 works:
http://www.geocodezip.com/v3_GoogleEx_fusiontips_v1.html
updated fusiontips_v1.js
http://www.geocodezip.com/scripts/fusiontipsV1.js
Original issue reported on code.google.com by geocodezip
on 17 Sep 2013 at 2:08
Attachments:
What steps will reproduce the problem?
1. Used code found in gmaps-utility-gis and copied it into a html doc, ran the
code, but the streetview controls do not work in sample. It works fine in other
browsers. I am using the latest version of Chrome.
2.http://gmaps-utility-gis.googlecode.com/svn/trunk/agsjs/examples/gmapslayer.ht
ml
This is the code I am using, the sample url does not work for in Chrome using
StreetView
3.
What is the expected output? What do you see instead?
Expected to be able to pan and zoom while in streetview mode using the Chrome
browser. Can't even close the streetview, it does nothing when I click the "X"
What version of the product are you using? On what operating system?
Chrome is Version 26.0.1410.64 m
Windows XP Professional
Please provide any additional information below.
other websites that use the Streetview option work fine on all my browsers, it
is just the above sample I can't get to work.
Original issue reported on code.google.com by [email protected]
on 17 May 2013 at 2:26
What steps will reproduce the problem?
1. set up just fine
2. works fine with only one problem
3. dynamic layer's legend comes two times and they work together (when i click
from another then the other one also toggled
What is the expected output? What do you see instead?
just show once
What version of the product are you using? On what operating system?
esri api 3.11 amd
Please provide any additional information below.
use code only from
http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/latest/docs/toc/examples.
html
Original issue reported on code.google.com by [email protected]
on 14 Nov 2014 at 5:16
Attachments:
1. Open gmaps-utility-gis/agsjs/examples/gmapslayer.html in IE8 (or IE9 + IE8
standards mode)
2. Click the reload button
3. Notice one of several errors shown below
Can be reproduced from here:
http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/2.03/examples/gmapslayer.
html
google is undefined. You can get around this by using window.google as is done
elsewhere in this file:
if (google && google.maps && google.maps.event) {
parentNode is null:
this._element.parentNode.removeChild(this._element);
this._controlDiv.parentNode.removeChild(this._controlDiv);
this._topDiv.parentNode.removeChild(this._topDiv);
Original issue reported on code.google.com by [email protected]
on 23 Aug 2012 at 12:21
keydragzoom breaks onmouseout/ onmouseover of my 'Mehr'-menu on my map
in Internet Explorer 8
keydragzoom:
http://google-maps-utility-library-v3.googlecode.com/svn/tags/keydrag...
map with dragzoom.js:
http://www.mario-baldauf.org/API_v3/verortung/index.html
without:
http://www.mario-baldauf.org/API_v3/verortung/index2.html
all browsers fine except IE...
starts flickering on mousemove in Menu next to maptype-dropdown
Original issue reported on code.google.com by [email protected]
on 30 Jan 2010 at 4:52
What steps will reproduce the problem?
1. Annotation layers do not work
2. once turned off in child layer, they do not turn back on. Or if other layers
in same dynamic service are turned on, the annotation automatically turns off
and won't come back on!
3. See our service and website as an example. the "Parcel Annotation" layer
will not come back on once turned off.
http://sagiscloud.thempc.org/arcgis/rest/services/sagis_org/SAGIS/MapServer
website: http://sagistesting.thempc.org
When I published the layer just as its own layer:
http://sagiscloud.thempc.org/arcgis/rest/services/sagis_org/SAGISAnnotationTEST/
MapServer
And brought in this second service which just had the annotation layer, as its
own AGS JS TOC object, I notice it works with the top checkbox, but the second
(inner child) checkbox causes the bug, once off, it doesn't come back on. in
other words, how the DOM node tree works with the AGS JS TOC widget seems to
need some work, in order to be able to turn Annotations layers on and off. It
should basically hide the "inner child" checkbox and work as if you are just
clicking the topmost checkbox, which seems to work. But when a service has
several regular layers and an annotation, and is brought in as one dynamic map
service, the AGS JS TOC only shows this "child" checkbox apparently because
annotations do not work at all, if they are inside a dynamic map service with
other layers.
ESRI will not help because it is a third party widget, although interestingly
enough this exact same thing happens on ArcGIS.com. But arcgis.com does not
"support annotations" curiously.
What is the expected output? What do you see instead?
AGS JS TOC does not work with annotation layers as above.
What version of the product are you using? On what operating system?
All browsers (IE 11/FF/Chrome). Windows 8.1. latest vers 2.09 of AGS widget.
Please provide any additional information below.
Please help!! Thank you!! I will be glad to test anything you would like me to
test!
Original issue reported on code.google.com by [email protected]
on 2 Dec 2014 at 7:21
Very impressed with the Google Maps Layer for ArcGIS JavaScript API tool.
You mention ' It uses Google API to access tiles, thus it conforms to API terms
of use' (assuming its public facing and not behind a login).
However, does the tool still breach the terms of use for the google maps api.
I quote:
(a) No "Wrapping." You must not create or offer a "wrapper" for the Service,
unless you obtain Google's written consent to do so. For example, you are not
permitted to: (i) use or provide any part of the Service or Content (such as
map imagery, geocoding, directions, places, or terrain data) in an API that you
offer to others; or (ii) create a Maps API Implementation that reimplements or
duplicates Google Maps/Google Earth.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2014 at 11:05
What steps will reproduce the problem?
1. first load of map in firefox
2.
3.
What is the expected output? What do you see instead?
this._rootLayerNode is undefined in the _adjustToState method
What version of the product are you using? On what operating system?
latest
Please provide any additional information below.
fix:
_adjustToState: function() {
if (this._rootLayerNode) {
this._rootLayerNode._adjustToState();
}
},
Original issue reported on code.google.com by [email protected]
on 24 Mar 2014 at 5:17
are there any example of how to include AGS image layer on top of Google maps
using GTileLayer or similar approach? ArcGISLink does not have this option, so
that, has anybody experience with this type of services?
Any help or advice are welcome.
Thanks in advance!
Original issue reported on code.google.com by [email protected]
on 25 May 2011 at 5:43
What steps will reproduce the problem?
1. create a TOC tree with 3 or more unchecked and not visibile levels (i.e. L1
that contains L2 that contains the data-layer L3)
2. check the grand-father (L1) of the layer (L3) in order to make it visible
3.
What is the expected output? What do you see instead?
I expect that all the sublayers (L2 and L3) will be checked and visible but
only L2 is checked and no data (L3) is displayed.
The same occurs for unchecking event.
What version of the product are you using? On what operating system?
I'm using version 2.03
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2013 at 2:49
What steps will reproduce the problem?
1. Draw polygon on graphic layer
2. Panning the map
3. zoom in and out
What is the expected output? What do you see instead?
Polygon should be placed on the same location where I draw.
The same polygon measurements should appear in comparison to Bing maps(Bing
maps uses the same Spatial Reference as Google - 102100).
When zooming or panning the polygon should remain on his original position
What version of the product are you using? On what operating system?
Windows 7 64 bit.
/svn-history/r275/trunk/gmapslayer
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2011 at 3:05
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.