Tag Info

Hot answers tagged

3

The short answer is no, the projection used by the USGS varies with product (map series), application (paper vs web vs GIS data), and department/region/whatever. If you really want some detail, they publish a document on projections called Map Projections: A Working Manual you can find at http://pubs.er.usgs.gov/publication/pp1395


2

The last line of the getTextContent function in that sample shows how an infoWindow can contain HTML: return "<b>" + commName + "</b><br /><a target='_blank' href=http://en.wikipedia.org/wiki/" + sciName +">Wikipedia Entry</a>"; You can set this using infoWindow.setContent, and point to the location of the video. From this ...


1

As John said, map.infoWindow is an instance of esri/dijit/Popup, not esri/dijit/InfoWindow like it was many releases ago. You can specify anchor directly: map.infoWindow.anchor = "top"; Or use set(): map.infoWindow.set("anchor", "top"); All valid values are listed in the API ref for the popup's anchor property.


1

the doc you linked to has information at the top about Popup now being assigned to the map by default. Popup https://developers.arcgis.com/javascript/jsapi/popup-amd.html you could either go the route of trying to see whether it's possible to set the 'anchor' property on Popup or declare explicitly that you want esri.dijit.InfoWindow to be assigned ...


1

I removed the Jquery UI scripts at the end of the page in https://tpgrf.nl/testserver/alpha/topotrainer/provincies/. All those scripts start with the base URL https://tpgrf.nl/testserver/alpha/wp-includes/js/jquery/ui. Moving them up just before the variable translObj fixed it. JQuery UI is trying to define the global function define when it already ...


1

Two things to fix the tab container issue: use doLayout: false when creating your tab container set up a selection-change event listener to resize your tab container on the fly For #1: var tc = new TabContainer({ style: "height: 100%; width: 100%;", useMenu: false, doLayout: false, useSlider: false }, domConstruct.create("div")); For #2: ...


1

You may want to use a Geometry Service on your server to accomplish this. See the example here: https://developers.arcgis.com/javascript/jssamples/util_buffergraphic.html That will allow you to create a buffer that's the same shape as the geometry you're creating a buffer for. However, it is possible to create a circle based on a polygon because a polygon ...


1

Tend to agree with @chris-w, if you look at the National Map, NED data) are not projected - though projections vary across the Survey, many times based on regional project needs (and if it's part of Mapping, Biology, Water, etc.). The USGS is spread across the landscape, typically with at least one office in each State, all with national, regional or local ...


1

Ok.. After a morning of messing with this and trying to find a property to accomplish what I need, I was able to do this through the URL parameter of the geocoder. When creating the array of geocoding services to add to the Geocoder widget, I needed to append that URL with the token information. var myGeocoders = [{url: ...


1

See the Esri sample Popup content in side panel where the following function pushes the contents of the infoWindow to the div with ID "leftPane": function displayPopupContent(feature){ if(feature){ var content = feature.getContent(); registry.byId("leftPane").set("content", content); } } Add a div with an ID to your left-hand pane, and use a ...


1

Try what this example says. I was facing the same problem with chrome. Set navigationMode to css-transforms and force3DTransforms to true. https://developers.arcgis.com/javascript/jssamples/mapconfig_force_css3.html I had also tweaked this: esriConfig.defaults.map.panDuration = 1; // time in milliseconds, default panDuration: 250 ...


1

This question is a year old but this alternate solution may be helpful to others. If you are using the Popup class you can set the Popup to a global variable so that you can set it not to show the window while updating. To prevent getting the "No information available" window, just set visibleWhenEmpty to false and hideDelay to 0: var popup = new ...



Only top voted, non community-wiki answers of a minimum length are eligible