POST
|
It would be helpful if you could post your code or a link to the application.
... View more
07-08-2014
05:37 AM
|
0
|
1
|
625
|
POST
|
Glenn, Talking about a better marker variate, check out my latest version. I am using PictureMarkerSymbols instead of simple points. You can either host your pictures and then replace the link that I used, or you can take advantage of the ArcGIS Online Markers that can be found here. Just grab the link of the marker you like and replace the one that I use. Let me know if that helps! Tim
... View more
07-02-2014
09:20 AM
|
0
|
0
|
574
|
POST
|
Glenn, I have added that function to my application. The code I added is under //ZOOM TO http://jsfiddle.net/timw1984/dfrCn/3/ Let me know if that works! Tim
... View more
07-02-2014
06:29 AM
|
0
|
0
|
574
|
POST
|
Jay, add this to your style: div.tooltip { color: #FF0000; } Tim
... View more
07-02-2014
04:58 AM
|
0
|
0
|
354
|
POST
|
Matt, great job! I still wonder if this is a bug maybe? Thanks anyways! Tim
... View more
07-01-2014
11:13 AM
|
0
|
0
|
1033
|
POST
|
I wonder if anyone has a working example that lets text be edited, I just don't see why it shouldn't work. Nevermind I found a working example here. The difference here is that they declare a point first to get the location of the text, I feed it the location directly. Could that cause the issue? If so, how would I solve that problem?
... View more
07-01-2014
05:09 AM
|
0
|
0
|
1033
|
POST
|
Hey Jeff, thanks for checking it out. I know, its a headscratcher, especially since all the functions of the "Edit" tool work properly (you can change alignment and change the color of the text) it just doesn't close. Tim
... View more
06-30-2014
11:30 AM
|
0
|
0
|
1033
|
POST
|
Hey everybody, I have recently created a Draw App that uses Edit, to be able to edit graphics and text. It can be found here: http://jsfiddle.net/timw1984/T27G4/ When I do the following steps there seems to be a problem though. 1) Write some text in the textbox on the right -> right-click the map and click on "Add Text" 2) Now right-click the text and choose "Edit" 3) This pops up a menu in which you can change color/Alignment or double-click the text and change what it says. Once done I should be able to click the map and the menu should disappear, but it doesn't. I am using EDIT_TEXT constant to do this. The weird part is, when I choose "Rotate/Scale" (which uses the SCALE constant) instead of "Edit", the same menu pops-up and now when I click on the map the menu disappears. Am I doing something wrong or could this be a bug? Tim
... View more
06-30-2014
10:04 AM
|
0
|
8
|
3005
|
POST
|
John, add this to your code and let me know if it works: geoLocate.on("locate", dothat);
function dothat(evt){
circle = new Circle({
center: evt.graphic.geometry,
geodesic: true,
radius: 5,
radiusUnit: "esriMiles"
});
map.graphics.clear();
map.infoWindow.hide();
var graphic = new Graphic(circle, circleSymb);
map.graphics.add(graphic);
var query = new Query();
query.geometry = circle.getExtent();
featureLayer.queryFeatures(query, selectInBuffer);
}; Tim
... View more
06-30-2014
07:14 AM
|
0
|
0
|
695
|
POST
|
Ahh, I forgot to add the click "Edit" part in my second post.
... View more
06-27-2014
11:14 AM
|
0
|
0
|
479
|
POST
|
Tested the JSFiddle in IE10, FireFox 30.0, and Chrome 35.0.1916.153. It appears to be working in each of these browsers. Thanks for checking it. Just to recap, you added some text, right-clicked the text and brought up alignment/color, then left-clicked the map and the alignment/color box disappeared?
... View more
06-27-2014
10:46 AM
|
0
|
0
|
479
|
POST
|
Hey everybody, I am in the process of developing a draw tool and ran into a problem. Once I add text to my map, I am able to right-click the text and then click edit, which pops up option (change color/alignment of text). For some reason when I click on the map, it does not close this window. Any idea why this is happening? Here is the link to my app: http://jsfiddle.net/timw1984/t8MD6/ Tim
... View more
06-27-2014
10:09 AM
|
0
|
5
|
719
|
POST
|
Tracy, Did you try and add the following to your css: position: absolute; Let me know if that works. Tim
... View more
06-27-2014
10:02 AM
|
0
|
0
|
376
|
POST
|
Glenn, you would need to create a new symbol, depending on how many unique symbols you would like. This is the only symbol that you have right now: var storepoint = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_SQUARE, 10,
new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID,
new Color([0,255,0,0.25]), 1),
new Color([255,0,0])
) create another one: var storepoint2 = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 10,
new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID,
new Color([246,27,27,0.25]), 1),
new Color([255,0,0])
) look here for what type of symbols you can have and look here on what type of color you would like. Once you have your 2nd symbol type created, replace the storepoint in this code with storepoint2: var store2 = new Graphic(singlePoint2,storepoint,attr2,infoTemplate2); You can do this with every new point. Let me know if this is clear. Tim
... View more
06-27-2014
04:39 AM
|
0
|
0
|
633
|
POST
|
Michael, if you don't want a basemap, just add your layers and create the map with the minimum information needed map = new Map("map", {
}); That won't load a basemap. Tim
... View more
06-25-2014
06:12 AM
|
0
|
0
|
355
|
Title | Kudos | Posted |
---|---|---|
1 | 10-25-2013 07:58 AM | |
1 | 03-06-2014 06:03 AM | |
4 | 12-09-2013 03:25 AM | |
1 | 04-16-2014 04:11 AM | |
1 | 04-24-2014 10:53 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|