rhodges / oregon-marinemap

Automatically exported from code.google.com/p/oregon-marinemap
0 stars 0 forks source link

GE initial view bug #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When oregon app is first loaded in dev sandbox, the default view is northern 
california even though the Oregon study region is defined and drawing properly.

Chad probably has some ideas on this.

Original issue reported on code.google.com by tim.j.welch@gmail.com on 7 Jul 2010 at 9:59

GoogleCodeExporter commented 9 years ago
The extent for the study region is cached, so if this geometry was changed 
rather than a whole new study region object created, that cache might still 
exist? Might try just clear the following fields on the study region model:

lookAt_Lat = m
lookAt_Lon = m
lookAt_Range =
lookAt_Tilt = 
lookAt_Heading

Where is this instance hosted? I tried chinook.marinemap.org to try and mess 
around with this in admin, but I just got the default apache It Worked! page.

Original comment by underbluewaters on 8 Jul 2010 at 3:29

GoogleCodeExporter commented 9 years ago
Thanks Chad.
We were having that issue on a localhost.  I figured it was likely a GE cache 
issue, but wasn't sure how to deal with it.  
Looking at chinook.marinemap.org now, I've loaded a sample study region via a 
fixture and adjusted the lookAt_Range field to better frame the study region on 
the screen (can be altered in the fixture or via the admin).  And It seems to 
have centered itself just fine.   
Back on localhost, I tried clearing those fields, but the initial zoom/view 
remain unaffected.  
Since this issue doesn't appear to be carried over to chinook, I'm going to go 
ahead and close out this ticket.  

Original comment by sfletche@gmail.com on 8 Jul 2010 at 9:38