Acabo de recrear mi Aplicación Cemetery<\/A>. La última versión no usaba JavaScript estilo AMD<\/A>. Esto hacía que mi script antiguo fuera realmente largo, feo y voluminoso.<\/P> Versión antigua<\/SPAN><\/P> <\/P> &nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...; Versión nueva<\/SPAN><\/P>&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...; <\/P>He podido agregar más funciones a mi versión actual porque ESRI estaba convirtiendo a AMD cuando comencé, así que obtuve mi código original.<\/P>Esta se ha convertido en mi aplicación favorita. Me enseñé a mí mismo (principalmente) JavaScript durante el tiempo que me tomó escribir la aplicación. Mi aplicación inicial tardó aproximadamente 5 meses en completarse. Parte del proceso fue actualizar nuestras 19 mil tumbas.<\/P>&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...; <\/P><\/P>CREACIÓN<\/STRONG><\/P>Basé mi script en la plantilla de JavaScript DataGrid<\/A>. Luego añadí un conmutador personalizado de basemap, ubicación, inicio, ayuda y otras funciones.<\/P>Durante el invierno añadí un script para hacer que nieve a través de la webapp.<\/P>&nbs...&nbs...&nbs...&nbs...; <\/P>MÓVIL<\/STRONG><\/P>Esta aplicación también está diseñada (más o menos) para móvil. La página principal te dirigirá automáticamente a la versión "móvil".<\/P>Las únicas dos diferencias principales son el tamaño y la capacidad de hacer zoom.<\/P>La capacidad de encontrar tu ubicación mientras estás en un cementerio es importante. Tratar de encontrar una lápida puede ser difícil. También estamos en proceso de actualizar/tomar fotos de cada lápida. Actualmente tenemos más de 4500.<\/P>&nbs...&nbs...&nbs...&nbs...; <\/P><\/P>USO<\/STRONG><\/P>La aplicaciF3n Cemetery ayuda a los residentes a encontrar familiares y amigos ubicados en cualquiera de los cementerios de la ciudad.Haz clic en el Panel de Opciones de BFAsqueda. En el cuadro de texto, introduce el Nombre, Apellido, AF1o de Fallecimiento o AF1o de Nacimiento de la Persona de InterE9s. Solo se puede buscar un nombre o fecha a la vez. Haz clic en Buscar. Todos los registros que contienen los parE1metros de bFAsqueda se muestran abajo. Haz clic en cualquier parte de la fila de la persona deseada. El mapa harE1 zoom automE1ticamente al lote deseado. Haz clic en el lote resaltado (si hay dos o mE1s visibles, elige el lote mE1s centrado o sigue haciendo clic hasta encontrar el nombre deseado). Se mostrarE1 informaciF3n sobre el lote. <\/<\/>STRONG><SPAN style=\\
Versión antigua<\/SPAN><\/P> <\/P> &nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...&nb...; Versión nueva<\/SPAN><\/P>&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...; <\/P>He podido agregar más funciones a mi versión actual porque ESRI estaba convirtiendo a AMD cuando comencé, así que obtuve mi código original.<\/P>Esta se ha convertido en mi aplicación favorita. Me enseñé a mí mismo (principalmente) JavaScript durante el tiempo que me tomó escribir la aplicación. Mi aplicación inicial tardó aproximadamente 5 meses en completarse. Parte del proceso fue actualizar nuestras 19 mil tumbas.<\/P>&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...&nbs...; <\/P><\/P>CREACIÓN<\/STRONG><\/P>Basé mi script en la plantilla de JavaScript
Durante el invierno añadí un script para hacer que nieve a través de la webapp.<\/P>
&nbs...&nbs...&nbs...&nbs...; <\/P>
MÓVIL<\/STRONG><\/P>Esta aplicación también está diseñada (más o menos) para móvil. La página principal te dirigirá automáticamente a la versión "móvil".<\/P>Las únicas dos diferencias principales son el tamaño y la capacidad de hacer zoom.<\/P>La capacidad de encontrar tu ubicación mientras estás en un cementerio es importante. Tratar de encontrar una lápida puede ser difícil. También estamos en proceso de actualizar/tomar fotos de cada lápida. Actualmente tenemos más de 4500.<\/P>&nbs...&nbs...&nbs...&nbs...; <\/P><\/P>USO<\/STRONG><\/P>La aplicaciF3n Cemetery ayuda a los residentes a encontrar familiares y amigos ubicados en cualquiera de los cementerios de la ciudad.
Haz clic en el Panel de Opciones de BFAsqueda. En el cuadro de texto, introduce el Nombre, Apellido, AF1o de Fallecimiento o AF1o de Nacimiento de la Persona de InterE9s. Solo se puede buscar un nombre o fecha a la vez. Haz clic en Buscar. Todos los registros que contienen los parE1metros de bFAsqueda se muestran abajo. Haz clic en cualquier parte de la fila de la persona deseada. El mapa harE1 zoom automE1ticamente al lote deseado. Haz clic en el lote resaltado (si hay dos o mE1s visibles, elige el lote mE1s centrado o sigue haciendo clic hasta encontrar el nombre deseado). Se mostrarE1 informaciF3n sobre el lote.
<\/<\/>STRONG><SPAN style=\\
Would you be willing to share your script? I'm not a programmer but I think this would greatly enhance my FlexViewer based Cemetery webmap.
Nicely done Rickey! it is really fast and works well. Your code is nicely organized and easy to read, too. I like how you have used a dynamic service for your base map so that users can zoom in much closer than is typical with a tiled base map.
The only thing I noticed that I'd like to mention is that I can zoom in further with the aerial photo than the base map, so if I zoom way in first with the aerial on and then switch to the basemap it doesn't draw anything unless I zoom out a little.
Great work!
Josh White,
Yes you can use the script (it is mostly all from Esri JavaScript Samples) and not flex though. Open the map, right click on the View Page Source option (in chrome). The result will show my script. I did not really use any outside scripts for this webapp.
Michael Jenkins,
I agree that is an issue, this year we are getting 2-4 terabytes of storage added. That will mean we will be able to create those cashes to zoom in as far as the aerial photo.
I'm okay with it not being Flex, that is just what my current version is. I'd like to make it so that it can be used on mobile devices.
Ricky,
I just checked out the most recent version of your cemetery viewer and it's very cool/fun to use!!! Thank you so much for sharing! I love how fast it is and easy it is to pull up the attachment table and look at the records there. Also the last names on the plots are a nice touch! Honestly I could give you complements all day very well done!!
I'm working with a local church to build out something very similar in experience builder. I'm not sure how your data was set up behind the scenes but I'm curious if you ran into the same problem we're running into regarding getting photos into popups and wanted to reach out to see your thoughts.
Ideally we'd like users to be able to select a plot on the map and have the photos of the plot show up in the popup like your application allows. However, we are running into issues because it seems when a join view in arcgis online is created the attachments are not transferred as well. Our current workaround idea is to write an arcade expression that uses a field to pull in the gravesite photo from another layer but this is proving to be more tricky than anticipated. Did your application require this process to get the photos into the popup or did you accomplish this a different way?
Again thanks so much for sharing!! I really enjoyed clicking through the different cemeteries in your application and am glad I found your blog post!
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.