|
POST
|
You are close! Here's a sample using different points, but the same symbol. http://jsfiddle.net/tE4A3/8/ If your graphic still doesn't draw, you may end up having to convert those points to wkid 102100 or 4326.
... View more
04-17-2014
02:00 PM
|
0
|
0
|
2626
|
|
POST
|
Thanks very much for your help, is there anyway to display webmaps without a webserver running? Websites generally need a webserver. There are many reasons why (communication, security, etc... many blog posts and wiki articles about the technical details). If you absolutely cannot install a local webserver, you will probably have to use something like jsfiddle. Some computers ship with a webserver by default so you might want to check if you have one installed already.
... View more
04-17-2014
11:19 AM
|
0
|
0
|
2841
|
|
POST
|
That's the source of your problem. You need to make sure you have a web-server running (IIS, apache etc) and that your application (html file) is in the correct directory.
... View more
04-17-2014
11:10 AM
|
0
|
0
|
2841
|
|
POST
|
Are you accessing your application from a web-server?
... View more
04-17-2014
11:07 AM
|
0
|
0
|
2841
|
|
POST
|
The 'layer-add-result' event actually returns the layer that was added to the map in the callback. You would have to check in the callback which layer was added and then do something based on that. http://jsfiddle.net/tE4A3/7/ on(map, "layer-add-result", function(layerAdded, errorMsg){ if(layerAdded.layer === myLayer){ console.log('found the layer i want, do something specific'); } });
... View more
04-17-2014
08:24 AM
|
0
|
0
|
1800
|
|
POST
|
This is really difficult to troubleshoot! Were there any error messages in the console when you pressed the button? Did you confirm that the sample works from a web-server?
... View more
04-17-2014
05:43 AM
|
0
|
0
|
1517
|
|
POST
|
Dgrid is also included in the ESRI JSAPI; no additional installation required. Let me know if you have any additional questions about dgrid!
... View more
04-17-2014
05:40 AM
|
0
|
0
|
2296
|
|
POST
|
Hey jhevenor, thanks for the heads up. We are looking into this.
... View more
04-16-2014
12:37 PM
|
0
|
0
|
2875
|
|
POST
|
You can absolutely do that with dgrid! A good idea would be to find a style of grid you like, then try to replicate it using the sample code. Check out these 4 demos for an idea of the power behind dgrid: http://dojofoundation.org/packages/dgrid/#demos Complex column examples: http://dojofoundation.org/packages/dgrid/js/dgrid/test/complex_column.html List of specific dgrid test cases: http://dojofoundation.org/packages/dgrid/js/dgrid/test/
... View more
04-16-2014
08:13 AM
|
0
|
0
|
2296
|
|
POST
|
This has been fixed internally. In the meantime, use a basemap if possible. If this is not an option, I can provide a work-around. However, you would most likely have to remove this additional code when the new API version is released.
... View more
04-16-2014
08:05 AM
|
0
|
0
|
2059
|
|
POST
|
I am not 100% sure without checking a sample but you might have to refresh the grid after updating the store. On a more serious note, I would suggest using dgrid instead of dojox.dataGrid. In my opinion, dgrid is a thousand times easier to use (this is hyperbole, but trust me). Dgrid is also included in the ESRI JSAPI; no additional installation required. dgrid documentation is a quick read: https://github.com/SitePen/dgrid/wiki First Sample: http://dojofoundation.org/packages/dgrid/tutorials/hello_dgrid/ My Advanced Sample: http://jsfiddle.net/KJqXQ/1/ Note: - Check out the two column objects (columnExample1 and columnExample2) -- columnExample1 is a simple column object while columnExample2 is for more advanced grids Further Advice: Use a standard "Grid" with the Pagination extension if you want your grid to have paging. Use OnDemandGrid if you don't want paging and want a grid with efficient lazy loading (this offers better performance with thousands of rows).
... View more
04-15-2014
01:47 PM
|
0
|
0
|
2296
|
|
POST
|
Alex, you may want to make a new thread for your question. This thread is many years old.
... View more
04-15-2014
09:28 AM
|
0
|
0
|
2624
|
|
POST
|
Hi Amit, Could you be a bit more specific about what functionality you are having trouble with? The two samples posted don't have much to do with eachother, so I need a bit more background information. Which is the file that isn't behaving as expected? What would you like to do with it? What have you tried so far?
... View more
04-15-2014
08:34 AM
|
0
|
0
|
747
|
|
POST
|
Hey. After selecting Map from Editor I get the following error when I want to editorwidget.destroy() error message: _E.DISCONNECT IS NOT A FUNCTION Hi orhun, Can you create a sample of your issue using jsfiddle.net so I can take a look? Thanks!
... View more
04-15-2014
08:20 AM
|
0
|
0
|
2438
|
|
POST
|
This is working for me: http://jsfiddle.net/tE4A3/4/ This sample uses: ["*"] http://jsfiddle.net/tE4A3/5/
... View more
04-11-2014
02:36 PM
|
0
|
0
|
7899
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-26-2014 09:56 AM | |
| 1 | 09-18-2014 11:50 AM | |
| 1 | 09-19-2014 11:28 AM | |
| 1 | 07-09-2014 01:43 PM | |
| 1 | 07-09-2014 02:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-14-2024
05:31 PM
|