|
POST
|
Try commenting out the YUI reset link and removing "text-align: center;" from your html, body style declaration in styles.css. Does that result in things lining up correctly?
... View more
06-10-2011
11:42 AM
|
0
|
0
|
2473
|
|
POST
|
Thanks again. Seeing your markup would be helpful. Can you link to (or post as an attachment) a copy of your HTML?
... View more
06-10-2011
09:59 AM
|
0
|
0
|
2473
|
|
POST
|
Hi Eric, The startup() method is part of the dijit lifecycle (more info on dojo dijits and widget)and there's not an analogous "stop" or "disable". Can you talk a bit more about what you want to do? What about hiding/showing your editor at the appropriate times?
... View more
06-10-2011
09:52 AM
|
0
|
0
|
3295
|
|
POST
|
No worries. Thanks for elaborating and posting additional screen shots. You're definitely not locked into using any dojo dijits but they just make life easier. Can you post your CSS for the page in question? For this to be a bug, we would need to be able to describe it as "Graphics are shifted 50% of the page width when ____ is ____". We still can't do that.
... View more
06-10-2011
09:46 AM
|
0
|
0
|
2473
|
|
POST
|
Hi Daniel, Using a BorderContainer and nested ContentPanes is a pretty solid way of laying out a page. What are you doing with CSS that you couldn't apply to a content pane? I would disagree that Esri is punishing you...Esri's role is to provide tools and components to make building geospatial web apps easier. You still need to deal with finer points of general web development and cross browser compatibility (dojo can help here). What, specifically, would you log as a bug? We haven't even figured out what's causing your problem... Full Disclosure: I now work for Esri on the JS API team. Still sorting out the details of getting a globe under my names on the left.
... View more
06-10-2011
08:59 AM
|
0
|
0
|
2473
|
|
POST
|
Hi Ben, I would encourage you to re-think this and consider accepting user input instead of putting everything on the client from the start. Putting everything on the client will slow down initial app load time and probably provide a less than ideal user experience. Why not let your users specify some text, then use that as the searchText on your findParameters? If you really want everything on the client, you probably want to use a query task, not a find task. Pre the documentation, the find task requires some text(not wildcards): Search a map service exposed by the ArcGIS Server REST API based on a string value. A query task will let you specify a where clause of something like "1=1" to get all values (or the max number of records returned by your service, 1000 if you're using version 10 of ArcGIS Server). If you do this, you'll want to specify returnGeometry=false so that you're not needlessly pushing geometry across the wire. The one drawback here is that a query task will only work against a single layer. Finally, I understand wanting to avoid SOAP, that's understandable. But why the aversion to AJAX?
... View more
06-10-2011
08:43 AM
|
0
|
0
|
973
|
|
POST
|
How are you setting up your page layout? In the past, I've seen some offset/graphic placement problems when using certain CSS rules. If possible, I'd recommend using dojo's dijit layout widgets to layout your page. There are samples for this, check out the "Layouts" section.
... View more
06-10-2011
08:29 AM
|
0
|
0
|
2473
|
|
POST
|
The ArcGIS Server REST docs have some info: Description: This option can be used to specify the maxAllowableOffset to be used for generalizing geometries returned by the query operation. The maxAllowableOffset is in the units of the outSR. If outSR is not specified then maxAllowableOffset is assumed to be in the unit of the spatial reference of the map. I don't think there's an SRID for rubber chickens ;). Expect to see more about this on the ArcGIS Server blog on Monday.
... View more
06-10-2011
08:23 AM
|
0
|
0
|
3644
|
|
POST
|
No, there's no way to get building data out of that basemap. It's provided as a base for your application and does not provide access to specific feature geometry or attributes.
... View more
06-08-2011
09:33 AM
|
0
|
0
|
823
|
|
POST
|
Hi Don, What are you trying to accomplish by putting a map inside a form?
... View more
06-08-2011
09:28 AM
|
0
|
0
|
1067
|
|
POST
|
If you're talking about linking to a specific geographic extent and/or showing/hiding layers based on query string parameters that are part of a URL, there is not a built-in way to do that. But it can easily be coded in your app. The ArcGIS.com - Full Map sample shows how to load a web map based on a query string parameter. You could implement a similar strategy to keep track of the map's center or currently visible layers.
... View more
05-31-2011
01:14 PM
|
0
|
0
|
815
|
|
POST
|
Please elaborate on what you've tried and what, specifically, is failing.
... View more
05-31-2011
10:03 AM
|
0
|
0
|
1648
|
|
POST
|
Hey Chris, Thanks for posting another video, that makes it crystal clear to see what you're trying to do. I'm going to suggest a slightly new idea...since you're adding a buffer to your map, how about setting your map extent to include the buffer and the city boundary? To do this, you would take the extent of your buffer geometry, union it with your map extent and then set your map extent to the new extent. I'm looking at the code you uploaded yesterday and you would do this inside your "showBuffer" function. Here's how it would look: function showBuffer(geometries) {
var symbol = new esri.symbol.SimpleFillSymbol(
esri.symbol.SimpleFillSymbol.STYLE_SOLID,
new esri.symbol.SimpleLineSymbol(
esri.symbol.SimpleLineSymbol.STYLE_SOLID,
new dojo.Color([0, 0, 255, 0.65]), 2
),
new dojo.Color([0, 0, 255, 0.35])
);
dojo.forEach(geometries, function (geometry) {
var graphic = new esri.Graphic(geometry, symbol);
map.graphics.add(graphic);
});
// looks like you only buffer one point
// so take the first geometry in the geometries array
// and get its extent
var bufferExtent = geometries[0].getExtent();
// create a new extent that is the union of the buffer's
// extent and the map's current extent
var newExtent = bufferExtent.union(map.getExtent());
// set the map's extent
map.setExtent(newExtent);
queryParams.spatialRelationship = esri.tasks.Query.SPATIAL_REL_INTERIORINTERSECTION;
queryParams.returnGeometry = true;
queryParams.geometry = geometries[0];
queryTask.execute(queryParams);
}
... View more
05-26-2011
04:57 PM
|
0
|
0
|
2269
|
|
POST
|
Assigning permissions via roles might be a bit of overkill in this situation...what about assigning permissions directly on the feature class?
... View more
05-25-2011
08:20 PM
|
0
|
0
|
1313
|
|
POST
|
Hey Steve, I was implying that you could wrap the function you pass to setContent in another function. That way, variables you define in the function that wraps the function passed to setContent are accessible in the setContent function. It's not exactly what you asked for but is one way to avoid using globals.
... View more
05-25-2011
08:13 PM
|
0
|
0
|
1255
|
| 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
|