Reply To: Google Maps API Key issue when displaying maps via php

Home Forums MapPress Support Google Maps API Key issue when displaying maps via php Reply To: Google Maps API Key issue when displaying maps via php

#16986
Chris
Keymaster

Hi,

I’m glad you solved that, from the description I never would’ve guessed you were reading & saving the options in custom code.

Normally I would suggest making settings changes in the map object’s constructor or display() method, as shown in the documentation examples. But if you need to use the internal ‘options’ object, try calling the get() method first, to get the existing settings before calling the save() method to save them.