[ 
https://issues.apache.org/jira/browse/SOLR-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896283#action_12896283
 ] 

Lance Norskog commented on SOLR-2032:
-------------------------------------

>From the [Google Maps 
>FAQ|http://code.google.com/intl/en/apis/maps/faq.html#keysystem]:
bq. If you are developing on a local drive (file://), the key check is skipped 
in the Google Maps Javascript API and it is less restrictive in the Google Maps 
API for Flash. Note also that developing on the local drive with the Google 
Maps API for Flash will result in tiles with "DEBUG" painted on them. If you 
are developing on localhost, you will need to register a key for 
http://localhost. 

If you load this demo page from a file, then it calls localhost, which is a 
cross-scripting attempt. So the page has to be served by a localhost servlet, 
and thus the user has to get a key. I wanted the lowest possible "user energy 
barrier" to trying the demo. Thus... OpenLayers. I suppose I could register 
http://localhost and then include the key in the demo, but as Richard Nixon 
once said into a bookcase, ["it would be 
wrong"|http://books.google.com/books?id=YEPuUNqYRyIC&pg=PA370&lpg=PA370&dq=%22richard+nixon%22+%22would+be+wrong%22+tape+million&source=bl&ots=hMPAWFy0BR&sig=jZwl8lqhrtccIKXiMPyJKhBEmrM&hl=en&ei=4ctdTKKVCZP4sAOourCqCw&sa=X&oi=book_result&ct=result&resnum=2&ved=0CBcQ6AEwAQ#v=onepage&q=%22richard%20nixon%22%20%22would%20be%20wrong%22%20tape%20million&f=false].

> Map-viewer demo of SolrSpatial test data
> ----------------------------------------
>
>                 Key: SOLR-2032
>                 URL: https://issues.apache.org/jira/browse/SOLR-2032
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Lance Norskog
>         Attachments: SOLR-2032.patch
>
>
> Simple demo that shows off the location data in the Solr example electronics 
> store. Uses the OpenLayers graphic/mapping javascript library. Search for 
> anything in the store and click on the red diamond.
> This code is flaky on IE, sometimes works, sometimes does not.
> There is no spot in the code base for UI demos.
> The OpenLayers license is not known to be compatible with Apache at this 
> point, and contributing one project's code into another is rather dubious.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to