POST
|
Indeed, but I've learned a lot nonetheless! After reading through the non-mercator projection page you linked John I already have a lot of the information that Robert already provided in his live example. The metadata hold almost all the information that I needed to puzzle it together in any case! The spatial reference (32633), Tile info describing the levels of detail for each zoom, or resolution if you will, and near the bottom you find the origin X, Y reference. The last piece of information comes from the Map Service itself. https://services.geodataonline.no/arcgis/rest/services/Geocache_UTM33_WGS84/GeocacheBasis/MapServer
... View more
11-23-2016
01:18 PM
|
0
|
0
|
2996
|
POST
|
Holy friggin crap, Robert Scheitlin, GISP. I was out getting some takeaway for a session of reading more up on spatial references and non-mercator projection. I have no words to express my gratitude for the help. Added to: GitHub - SpellCraft/gomap-boilerplate: GoMap Development
... View more
11-23-2016
12:52 PM
|
0
|
0
|
2996
|
POST
|
(Sea Sheppard!) Oh wow, I had no idea about that actually. I am from Norway and the data from Norway though so I guess it makes somewhat sense. Does it actually matter which of the UMT32/33/WMAS - EUREF89/WGS84 folders I use though? Are some easier to work with than others? The 4 folders are actually pretty confusing, but I suppose I should stick with UTM33-EUREF89? (Having the most maps) And ffter just skimming the Non-Mercator projection page though I might reconsider using Leaflet with ESRI-Leaflet in favor of the online JS API. It was just a really convenient solution at the time. Thanks for the educational links, John, if this gives me a lot of headache I might just switch over. - A
... View more
11-23-2016
10:56 AM
|
0
|
5
|
2996
|
POST
|
Thanks for the reply Robert! That's actually what I thought and tried at first too, but when it loaded an empty map I thought I'd try the dynamicMapLayer for good measure. I also read John's reply bellow that the map is also cached in a custom projection, could that be one of the culprits to the grey map? (Grey filled, nothing but grey, no landmass definitions.)
... View more
11-23-2016
10:49 AM
|
0
|
1
|
2996
|
POST
|
Hello! I'm finally underway with my hybrid app and trying to learn Leaflet+ESRI as I go, I went so far as to buy map services from Geodata, Norway's distributor of ESRI services, however... I've set-up my map how I want it, added a few feature layers and been messing about with POIs, but when I'm now trying to change the base-map/displayed map to the service I bought from Geodata, it looks absolutely horrible! It seems very pixilated and low quality. Now, the default ESRI basemaps (Topographic for example) works wonderfully, is crisp and clear, unlike this one as well as responsive to boot, even on 3G. (Tested the prototype on 3G, 4G, 4G+ and wireless hotspots) Am I adding the map service wrong? Using the wrong URL? Here's my code: // Create a new Mapvar ll = new L.LatLng(65.90378805867515, 13.79491163036881);self.map = L.map('map', { center: ll, zoom: 9, fullscreenControl: true, }); L.esri.dynamicMapLayer({ url: 'https://services.geodataonline.no/arcgis/rest/services/Geocache_UTM33_WGS84/GeocacheBasis/MapServer' }).addTo(self.map); Now, this being said, I'm not entirely sure I'm using the right URL even. The URL I was given was Geodata REST Services Directory which contains a lot of standards, I've tried looking online for the differences but as far as I understand they're minuscule at best. Am I doing something wrong? According to examples online and the Leaflet-ESRI API I don't think I've overlooked anything. I hope anyone with a bit more knowledge than me can help. Thanks in advance! - A
... View more
11-23-2016
09:59 AM
|
0
|
10
|
4525
|
POST
|
That worked out just brilliantly. Thank you so much!
... View more
06-14-2016
04:34 AM
|
0
|
0
|
622
|
POST
|
Hello Robert Scheitlin, GISP! That's something I've not thought about at all. How much different is it? Currently all I need extra is the PopupTemplate system that lets me make that nice tooltip (which also contains a generated link for each river area when clicked that brings people to the last view.) so as long as it supports doing something like this I'm all for it. How do I make it a MapImageLayer? Simply just load the WebMap/Scene with the layer in it like this example? MapImageLayer | ArcGIS API for JavaScript 4.0 Cheers, Arnt
... View more
06-11-2016
08:24 PM
|
0
|
2
|
622
|
POST
|
Hello! I'm making an app that's using some of the ArcGIS/ESRI features and the JavaScript API. I've managed to create a new Web Map where I added my own Map Notes layer. On that layer I marked up my content using the Area and Text tool. I applied my styles to them so they're not all the same color and saved the layer/map. After reading for a bit, I found out that to get them displayed on my base map I needed to import the layer service and apply it to my map view in JS. require(["esri/Map",
"esri/views/MapView",
"esri/layers/FeatureLayer",
"dojo/domReady!"
], function (Map, MapView, FeatureLayer) {
var featureLayer = new FeatureLayer({
url: "http://services.arcgis.com/MyID/arcgis/rest/services/MyLayerName/FeatureServer/3",
outFields: ['*']
});
var map = new Map({
basemap: "topo",
layers: [featureLayer]
});
var view = new MapView({
container: "areaMap",
map: map,
zoom: 13,
center: [13.1835075, 65.8429693]
});
}); This thing works really well however once I published the layer I had created it seems to have lost all the styling and settings I set to the different Area shapes, not to mention that the text fields I had up with them are gone. What have I done wrong here? Alternatively, I read through the 4.0 Documentation that you can directly load a WebMap as well through Javascript but when I try to load my custom map with my Feature Layer attached to it, the layers seem to not load at all. I'd appreciate any help on this as I've been hitting my head against the wall since Thursday trying to fix this now. Thank you!
... View more
06-11-2016
11:34 AM
|
0
|
4
|
3280
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|