ACTA Webapp + Google Maps API key?

47 views
Skip to first unread message

Aaron Brethorst

unread,
Mar 15, 2024, 8:33:13 PMMar 15
to onebusaway...@googlegroups.com
Hi folks - can anyone point me to docs that explain how to set the google maps api key for the enterprise ACTA web app?

Thanks!
Aaron

Sent from my iPhone

Md Saroar Jahan

unread,
Mar 15, 2024, 9:52:14 PMMar 15
to onebusaway...@googlegroups.com
Hi Aaron,

I have set it in two places:

config.json:

{"component": "display", "key": "display.googleMapsApiKey", "value": "<GOOGLE_MAPS_API_KEY>"},
{"component": "display", "key": "display.googleMapsSecretKey", "value": " <GOOGLE_MAPS_API_KEY>"},

data-sources.xml of onebusaway-enterprise-acta-webapp

        <bean class="org.onebusaway.container.spring.PropertyOverrideConfigurer">
                <property name="properties">
                        <props>
                                <prop key="cacheManager.cacheManagerName">org.onebusaway.nyc_webapp.cacheManager</prop>
                                <prop key="defaultWebappConfigurationSource.googleMapsApiKey"><GOOGLE_MAPS_API_KEY></prop>
                        </props>
                </property>
        </bean>

Regards
Saroar

--
You received this message because you are subscribed to the Google Groups "onebusaway-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/EE9625F2-03BE-4E58-999D-59C993C1267C%40brethorsting.com.


--
Md. Saroar Jahan
sar...@gmail.com
Mobile: +61 410202808

Aaron Brethorst

unread,
Mar 15, 2024, 10:32:38 PMMar 15
to onebusaway...@googlegroups.com
Thank you so much for the pointer!

Sent from my iPhone

On Mar 15, 2024, at 6:52 PM, Md Saroar Jahan <sar...@gmail.com> wrote:



Sheldon A. Brown

unread,
Mar 16, 2024, 8:16:08 AMMar 16
to onebusaway...@googlegroups.com
For the record, /var/lib/oba/config.json is the intended source of
this configuration. But Saroar points out there is legacy
configuration for the old GWT UI I had forgotten about. We should
remove that!

Sheldon
> To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/CAOb6mHBghvhfej03B_J7QA5cqGbq8n5osmJkvz7tb0CDTTa-PQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages