← Back to team overview

dhis2-devs team mailing list archive

Re: GIS Google Maps Error

 

Could you also send a screenshot of the page where the errors are showing?
Do you get this on the DHIS 2 dashboard or in the GIS App?

Bjørn


On Mon, Aug 1, 2016 at 7:33 PM, Pamod Amarakoon <pamodm@xxxxxxxxx> wrote:

> Hi,
>
> Please find the attached screenshots
>
> On Mon, Aug 1, 2016 at 10:29 PM, Bjørn Sandvik <bjorn@xxxxxxxxx> wrote:
>
>> Could you send me a screenshot with the console open?
>>
>>
>>
>> On Mon, Aug 1, 2016 at 6:49 PM, Pamod Amarakoon <pamodm@xxxxxxxxx> wrote:
>>
>>> Hi Bjørn,
>>>
>>> It seems to work fine with https://play.dhis2.org/demo/dhis-web-mapping/.
>>> What may be causing this issue on my instance.
>>>
>>> On Mon, Aug 1, 2016 at 9:57 PM, Bjørn Sandvik <bjorn@xxxxxxxxx> wrote:
>>>
>>>> Hi Pamod,
>>>>
>>>> If you're experiencing the same issue for 2.24, is it only happening
>>>> for your local installation, or do you get the same error with our demo
>>>> version: https://play.dhis2.org/demo/dhis-web-mapping/ ?
>>>>
>>>> Bjørn
>>>>
>>>> On Mon, Aug 1, 2016 at 6:22 PM, Pamod Amarakoon <pamodm@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm also getting the same error in 2.24 when viewing GIS
>>>>>
>>>>> On Mon, Aug 1, 2016 at 4:54 PM, Sourabh Bhardwaj <
>>>>> bsourabh191@xxxxxxxxx> wrote:
>>>>>
>>>>>> Still getting the same MissingKeyMapError:
>>>>>>
>>>>>> Only the GM is not coming , data is coming fine!
>>>>>>
>>>>>> [image: Inline image 1]
>>>>>>
>>>>>> On Mon, Aug 1, 2016 at 4:45 PM, Jan Henrik Øverland <jan@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>>> I have bumped the GM api version in 2.22 and 2.21 which I think will
>>>>>>> fix the issue for now. Please update and see if it helps.
>>>>>>>
>>>>>>> Jan
>>>>>>>
>>>>>>> On 1 August 2016 at 12:41, Sourabh Bhardwaj <bsourabh191@xxxxxxxxx>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Jan&Bjørn*,*
>>>>>>>>
>>>>>>>> Currently I am using 2.21 with revision 20876 and this error is
>>>>>>>> coming with the Plugin only.  Demo version or even 2.21 GIS is running fine!
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Sourabh
>>>>>>>>
>>>>>>>> On Mon, Aug 1, 2016 at 3:04 PM, Jan Henrik Øverland <jan@xxxxxxxxx>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Sourabh,
>>>>>>>>>
>>>>>>>>> Which version and revision?
>>>>>>>>>
>>>>>>>>> Jan
>>>>>>>>>
>>>>>>>>> On 28 July 2016 at 12:42, Sourabh Bhardwaj <bsourabh191@xxxxxxxxx>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I am also getting some errors while using GIS Plugin. Following
>>>>>>>>>> is the console and screenshot of generated map.
>>>>>>>>>>
>>>>>>>>>> [image: Inline image 2]
>>>>>>>>>>
>>>>>>>>>> [image: Inline image 1]
>>>>>>>>>>
>>>>>>>>>> I have test it on 2.24 as well , same error is coming there!
>>>>>>>>>>
>>>>>>>>>> If I setup the browser key for *Missingkeymap *using <script
>>>>>>>>>> async defer src="https://maps.googleapis.com/maps/api/js?key=
>>>>>>>>>> *#################*"type="text/javascript"></script>
>>>>>>>>>>
>>>>>>>>>> Then I have to remove the plugin source otherwise duplicate map
>>>>>>>>>> library error came.
>>>>>>>>>>
>>>>>>>>>> Anyone faced similar issue with Plugins?
>>>>>>>>>>
>>>>>>>>>> Thanks & Regards,
>>>>>>>>>> Sourabh Bhardwaj.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wed, Jul 27, 2016 at 11:34 PM, Bjørn Sandvik <bjorn@xxxxxxxxx>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi Lorill,
>>>>>>>>>>>
>>>>>>>>>>> GIS questions for DHIS 2.22 and earlier are best answered by
>>>>>>>>>>> Jan, who will be back in office next week.
>>>>>>>>>>>
>>>>>>>>>>> Bjørn
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Jul 27, 2016 at 6:22 PM, Lorill Crees <lcrees@xxxxxxxxxx
>>>>>>>>>>> > wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Bjørn,
>>>>>>>>>>>>
>>>>>>>>>>>> These instances will eventually be upgraded, perhaps in the
>>>>>>>>>>>> next 3-6 months, but not immediately.
>>>>>>>>>>>>
>>>>>>>>>>>> Do you have any ideas with how we can address this specific
>>>>>>>>>>>> issue in version 2.22?
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> Lorill
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Jul 27, 2016 at 4:03 AM, Bjørn Sandvik <bjorn@xxxxxxxxx
>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Lorill,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Do you have the chance to upgrade to a new version of DHIS 2?
>>>>>>>>>>>>>
>>>>>>>>>>>>> There is a lot of GIS improvements in DHIS 2.23 and 2.24.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Bjørn
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Bjørn Sandvik
>>>>>>>>>>>>> GIS developer, DHIS 2
>>>>>>>>>>>>> University of Oslo
>>>>>>>>>>>>> www.dhis2.org
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Jul 26, 2016 at 10:15 PM, Lorill Crees <
>>>>>>>>>>>>> lcrees@xxxxxxxxxx> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> When attempting to load up the GIS app in DHIS 2 in some of
>>>>>>>>>>>>>> our instances, we are getting the following error popup:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> "This page was unable to display a Google Maps element.
>>>>>>>>>>>>>> Please contact the site administrator. If you are the administrator of this
>>>>>>>>>>>>>> site, please check the JavaScript console or check the following page for
>>>>>>>>>>>>>> troubleshooting: http://g.co/mapsJSApiErrors";
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> URL:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> https://[server]/dhis-web-mapping/index.html
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please see the attached screenshot of the javascript console,
>>>>>>>>>>>>>> which shows this error:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> "Google Maps API error: Google Maps API error:
>>>>>>>>>>>>>> MissingKeyMapError
>>>>>>>>>>>>>> https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
>>>>>>>>>>>>>> "
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> When closing the popover, the world map does not render.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> We are using 2.22 R 22026.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> How can we fix this?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Lorill
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Bjørn Sandvik
>>>>>>>>>>> GIS developer, DHIS 2
>>>>>>>>>>> University of Oslo
>>>>>>>>>>> www.dhis2.org
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Jan Henrik Øverland
>>>>>>>>> Software developer, DHIS 2
>>>>>>>>> University of Oslo
>>>>>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Jan Henrik Øverland
>>>>>>> Software developer, DHIS 2
>>>>>>> University of Oslo
>>>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Pamod Amarakoon
>>>>>
>>>>> Confidentiality Notice: the information contained in this email and
>>>>> any attachments may be legally privileged and confidential. If you are not
>>>>> an intended recipient, you are hereby notified that any dissemination,
>>>>> distribution, or copying of this e-mail is strictly prohibited. If you have
>>>>> received this e-mail in error, please notify the sender and permanently
>>>>> delete the e-mail and any attachments immediately. You should not retain,
>>>>> copy or use this e-mail or any attachments for any purpose, nor disclose
>>>>> all or any part of the contents to any other person.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Bjørn Sandvik
>>>> GIS developer, DHIS 2
>>>> University of Oslo
>>>> www.dhis2.org
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Pamod Amarakoon
>>>
>>> Confidentiality Notice: the information contained in this email and any
>>> attachments may be legally privileged and confidential. If you are not an
>>> intended recipient, you are hereby notified that any dissemination,
>>> distribution, or copying of this e-mail is strictly prohibited. If you have
>>> received this e-mail in error, please notify the sender and permanently
>>> delete the e-mail and any attachments immediately. You should not retain,
>>> copy or use this e-mail or any attachments for any purpose, nor disclose
>>> all or any part of the contents to any other person.
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Bjørn Sandvik
>> GIS developer, DHIS 2
>> University of Oslo
>> www.dhis2.org
>>
>
>
>
> --
> Regards,
> Pamod Amarakoon
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
>


-- 
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
www.dhis2.org

PNG image

PNG image

PNG image


Follow ups

References