|
POST
|
Other than not defining a width for all tables, you could explicitly specify a width on the table that makes up the zoom slider. You would use one of the classes specific to the table that makes up the slider. Something like: table.dijitSlider { width: 50px; } In action: http://jsfiddle.net/RpdM8/
... View more
11-02-2012
10:50 AM
|
0
|
0
|
1397
|
|
POST
|
I posted an answer to this over on gis.se: http://gis.stackexchange.com/a/39175/124
... View more
11-02-2012
06:55 AM
|
0
|
0
|
1439
|
|
POST
|
<snip>... I just provided the path to esri modules in dojoConfig (packages=>location) and it seems to work fine. Is it in any case unsafe? We don't test that but if it works for you...go for it.
... View more
11-01-2012
12:30 PM
|
0
|
0
|
983
|
|
POST
|
What version of Dojo is used in ESRI 3.2? I guess its 1.7.3.. Yes, 3.2 uses Dojo 1.7.3. Rather than loading your separate copy of 1.7.1, can you use the 1.7.3 that's bundled with our API?
... View more
11-01-2012
10:34 AM
|
0
|
0
|
983
|
|
POST
|
The edit toolbar has a number of events that you can monitor depending on when you want to interact with the graphic. It sounds like you want either onGraphicMoveStop or onDeactivate. Both will pass the graphic that was being edited to a function you define.
... View more
11-01-2012
10:31 AM
|
0
|
0
|
736
|
|
POST
|
When you look at a map service with JS via the services directory, you're looking at the entire service. Which is to say you're looking at generated images of the data (for dynamic services, this is one image generated on they fly, for tiled services, it's a set of pre-rendered images). Feature Layers, on the other hand, bring a single layer from a map service to a client. A Feature Layer does not use images but sends vectors to the client. You get geometry and attributes, but not labels. If you require labels, use a dynamic or tiled map service.
... View more
11-01-2012
10:14 AM
|
0
|
0
|
779
|
|
POST
|
Just in case anyone visits this thread in the future, please note that the WebTileLayer is now part of the Core API. Everything on this page can be ignored as now irrelevant. All current information can now be found at: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/layers_webtiled_one.html Thanks for following up. One small thing to note is that we originally published a sample that defined "WebTileLayer". When we put it in the API, we went with "WebTiledLayer".
... View more
10-31-2012
12:21 PM
|
0
|
0
|
2120
|
|
POST
|
I would double-check that you've included a <link> tag to bring in esri.css and make sure it's being loaded via your browser's dev tools. That seems to be the most likely explanation for the issue you're seeing. I put together a version of their "nested" sample and it works. It's attached as a .zip file. Edit: You also said "WMS" but the screen shot looks like it's showing the standard ArcGIS Online Streets basemap. Did you mean tiled service? I used the streets tiled service in my example.
... View more
10-31-2012
07:53 AM
|
0
|
0
|
1617
|
|
POST
|
We'll look forward to it in 3.4 (please) with hopes of squeezing it in for 3.3 (double please). Can't promise anything, but we'll be talking about it. Definitely not for 3.3.
... View more
10-25-2012
10:57 AM
|
0
|
0
|
2250
|
|
POST
|
That's what I get for posting without testing...my bad. What is your map's spatial reference? You can confirm that centerAt works by going to this sample: http://help.arcgis.com/en/webapi/javascript/arcgis/samples/map_topo/index.html Then entering this in the console:
var coordinates = prompt("Enter coordinates: ", "-13600000,4545000").split(",");
Press OK. Then enter this to center the map:
map.centerAt(new esri.geometry.Point(coordinates[0], coordinates[1], map.spatialReference));
Or...
map.centerAt(new esri.geometry.Point({ "x": coordinates[0], "y": coordinates[1], "spatialReference": map.spatialReference}));
... View more
10-25-2012
08:26 AM
|
0
|
0
|
2319
|
|
POST
|
I humbly disagree with swingley's comment above . . . Noted. Don't expect this in the next release (3.3) but we might be able to do something after that. Bing Maps, Google Maps, Google Earth, and other very successful map apps use kinetic/glide panning on moused setups as well as mobile/touch devices. Google Earth and Maps, and to some degree Bing, are quite successful at being platforms people use for maps but having kinetic panning is only one (and probably a minor one at that) of the many reasons for their success. Kinetic panning, when done correctly, IMO, is a subtle enhancement to an app's user experience. If it's too prominent, it tends to detract from the user experience (again, my opinion). Ideally, it "just feels right" and isn't directly noticed by users. Developers are a different story as that is a pretty picky audience :).
... View more
10-25-2012
07:52 AM
|
0
|
0
|
3276
|
|
POST
|
Hi there The thing is, the map will be be a part of an ASP.net MVC application in wich most of the interactions between the user and the web app will use JQuery. So it´s a matter of consistency across the web application. My idea was to leave dojo only for ESRI API internals and JQuery to plugin, plugout site features That's fair. We don't deal with jQuery nearly as much as we do with Dojo so this forum might not be much help. You're probably better off with other, more general jQuery plug-in development resources (jQuery docs, blogs, Stackoverflow).
... View more
10-25-2012
07:08 AM
|
0
|
0
|
1031
|
|
POST
|
The team has (briefly) discussed adding this in the past but we haven't made it a priority. If it is added, you will be able to turn it off. One thing that came up is that this is more of a requirement on touch devices. If you're still using a mouse, it's probably not the ideal experience. Anyone care to agree or disagree?
... View more
10-25-2012
07:05 AM
|
0
|
0
|
3276
|
|
POST
|
The x and y properties of the object passed to the point constructor need to be numbers. Try converting to numbers with parseInt:
var point = new esri.geometry.Point({ "x": parseInt(coordinates[0]), "y": parseInt(coordinates[1]), " spatialReference": { " wkid": 27700} });
... View more
10-25-2012
07:00 AM
|
0
|
0
|
2319
|
|
POST
|
Is there any way to assign where the anchor is located, as ANCHOR_LOWERLEFT can with InfoWindow? No, there isn't a way to do this. The popup will do its best position itself within the map (and this works, as long as the popup isn't bigger than the map container). If you always used ANCHOR_LOWERLEFT, there's a good chance you could be opening the popup but it wouldn't be 100% visible, which would then require to pan to see all of it. If I'm missing something, can you post some screen shots that show what's happening now and perhaps mock-up what you'd like to be happening?
... View more
10-24-2012
07:22 AM
|
0
|
0
|
1778
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|