mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
commit
74091c61fa
@ -1,5 +1,8 @@
|
||||
# offline-editor-js - Changelog
|
||||
|
||||
## Version 2.1.1 - Sep 22, 2014
|
||||
- Closes #244 - broken attachements-editor sample gh-pages
|
||||
|
||||
## Version 2.1 - Sep 18, 2014
|
||||
- Closes #236 - Minor typo in How to use TPKLayer doc
|
||||
- Closes #237 - Completely rebuilt gh-pages. Now we have an online demo app page.
|
||||
|
||||
@ -96,7 +96,7 @@
|
||||
// a proxy page is required to upload attachments
|
||||
// refer to "Using the Proxy Page" for more information: https://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html
|
||||
//esriConfig.defaults.io.proxyUrl = "../lib/proxy.php";
|
||||
esriConfig.defaults.io.proxyUrl = window.proxyPath;
|
||||
esriConfig.defaults.io.proxyUrl = null; //can be set to null when using a CORS-enabled server
|
||||
|
||||
var offlineFeaturesManager = new O.esri.Edit.OfflineFeaturesManager();
|
||||
offlineFeaturesManager.initAttachments(function(success)
|
||||
@ -109,8 +109,8 @@
|
||||
|
||||
map = new Map("map", {
|
||||
basemap: "streets",
|
||||
center: [-122.427, 37.769],
|
||||
zoom: 15
|
||||
center: [-88.1,41.7],
|
||||
zoom: 11
|
||||
});
|
||||
|
||||
map.on("load", mapLoaded);
|
||||
@ -123,7 +123,7 @@
|
||||
|
||||
function mapLoaded()
|
||||
{
|
||||
featureLayer = new FeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0",{
|
||||
featureLayer = new FeatureLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer/0",{
|
||||
mode: FeatureLayer.MODE_ONDEMAND
|
||||
//mode: FeatureLayer.MODE_SNAPSHOT
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user