|
POST
|
If you change line 26 to "perRow : 2," on "/scripts/home/local.js" it should fix that display error. It's currently added a class "endRow" to every third item which is removing the padding. If you change it to 2, it should only add it to the 2nd item on each column. Or you can remove the endRow class from global.css. That's another option. Hope that helps. YES it does, thanks very much. i know this is an 'unsupported' template. but you go to great lengths to help make it work for everyone, thanks for your assistance.
... View more
11-09-2011
07:42 AM
|
0
|
0
|
2281
|
|
POST
|
Greetings. I am using a very stripped down of this template here: http://www.peoriacounty.org/GIS/ You can see that there is a slight formatting error in-between my "IL Legislature" and "Peoria Tweets" applications. I have looked all over this forum and haven't been able to figure out why those thumbnails are different. I am using Grid_8 to get the 2x4 layout but i just can't figure out this misalignment. Any assistance is appreciated.
... View more
11-07-2011
12:17 PM
|
0
|
0
|
2557
|
|
POST
|
ESRI tech support supplied me with the correct syntax: //construct infowindow title and content var attr = feature.attributes; var title = attr.COUNTY_BRD; var content = "<br /><i>County Offices</i>" + "<br />County Board District: " + attr.CO_BOARD +"<br>Board Member: <a href=" + attr.URL + " target=_blank ;'>"+ attr.BRD_NAM+"</a>" here the URL field has the entire web address for that board member (no domains ) and BRD_NAM is the county board member's name. So the result is dynamic, changing with each board member's district. *note the "attr" variable simply shortens the feature.attributes call so i don't have to type it out each time.
... View more
04-15-2010
11:37 AM
|
0
|
0
|
562
|
|
POST
|
Well the title really says it all, I currently have a infowindow that pops up after a query. I also currently have a working URL link within the attributes of that query. The problem is that i want to combine two lines of the info window. I want to make the returned attribute a hyperlink. Here is part of my infowindow code: + "<br />County Board District: " + attr.CO_BOARD + "<br />Board Member: " + attr.BRD_NAM + "<br /><a href=" + attr.URL + " target=_blank ;'>Meet Your Board Member</a>" the link works fine but instead of "Meet Your Board Member" as the link text, i want it to be the attr.BRD_NAM seems easy enough, but everything is different when you're working within the confines of JavaScript any suggestions would be helpful and attempted. If i figure it out before i get an answer, i'll post my findings. thanks. -MicahWilli
... View more
04-15-2010
07:51 AM
|
0
|
1
|
1833
|
|
POST
|
I'd definitely recommend starting with the JavaScript API Samples. The HTML code is completely open and you can re-position the map to be over your location. The maps, however, are not open. If you want to host your own data, maybe a Google Map or A Bing Map Mash-up? http://resources.esri.com/arcgisserver/apis/javascript/gmaps/ Good Luck & have fun.
... View more
04-15-2010
06:29 AM
|
0
|
0
|
1011
|
|
POST
|
@kelly exactly what i was looking for! thank you! -Micah
... View more
04-08-2010
08:02 AM
|
0
|
0
|
689
|
|
POST
|
I have a javascript API application that uses the geocode locator and query function. The problem is that my users don't know all about the <click> functions of the API (pan, zoom, rectangle zoom etc...). They constantly use the number pad to enter addresses, no big deal, right? Problem is that sometimes the map is selected and when they enter a 2,4,6,8 the map moves and the number is not entered into the address form. it would be easy from me to say, Do this or do that to them, but then they are unhappy users and complain about it not being user friendly. I want to be able to remove those API functions; NO pan, NO mouse wheel Zoom, NO arrow key pan just return the image of the map, no interaction. Is there a sample for this, did i miss it?
... View more
04-08-2010
06:58 AM
|
0
|
2
|
1265
|
|
POST
|
If you are asking if you can publish a shapefile as an ArcGIS Serivce, without ArcGIS Server, the answer is no. if you just want to share data; there are tools outside of ESRI that will allow you to post files. I'm thinking of KML files, Google Map API, Open Source MapServer, cloud computing etc... Jack Dangermond (ESRI CEO) just gave a talk about "Open GIS" last week at the Where 2.0 conference, here's a link. http://www.youtube.com/v/YK9ny-t_CdQ I don't think i answered anything, but i hope i helped. -Micah
... View more
04-08-2010
06:45 AM
|
0
|
0
|
1010
|
|
POST
|
First let me tell you that ESRI Tech support ofr the Javascript API is fantastic. they are really making an effort to make it work for everyone. that being said, here is my geocode locator code. I also have use a US one range for my locator with one field "Street:" the problem is that the sample uses a field called "Address:" which is also the name of their variable in the JavaScript for the user entry box. So I get confused very easy. 🙂 after the close of the init{} part this is what i have. function locate() { map.graphics.clear(); var add = dojo.byId("address").value.split(","); var address = { Street: add[0] }; locator.addressToLocations(address,["Loc_name"]); } function showResults(candidates) { var candidate; var symbol = new esri.symbol.SimpleMarkerSymbol(); var infoTemplate = new esri.InfoTemplate("Location", "Street: ${address}<br />Score: ${score}<br />Side: ${side}"); _____the code moves on here but that's all i changed______ you can see where i put the "Street:" field in replacement of the Sample's "Address:" I hope that works, i am not a programmer either. but i have to play one at work. -Micah
... View more
04-08-2010
06:28 AM
|
0
|
0
|
591
|