Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Google Map default Zoom displays entire USA map

SA-70623

Summary



A section uses 'Address Map' as control with following properties:

Type: Clipboard Page
Clipboard page: D_PostProvidersSOLR.ProviderList
Property for location: .ADDR_POSTN




The list is prepopulated from the Service and Address is set in the ADDR_POSTN.

The map zooms out to entire USA by default. The requirement is to display the Zoom in and around the pins.




Error Messages



Not Applicable


Steps to Reproduce

  1. Add the Address map control in the section.
  2. Populate the list values through an activity (each address spreads across the city, for example, Owings Mills).
  3. Pass the address in the fields appropriately.
  4. Run the portal.
  5. View the map. The default zoom displays the entire USA map.


Root Cause



An issue in the custom application code or rules.
The Show User Location option was checked in the Cell properties for the Address map. This caused the initial zoom to include the user's location even if there is no marker for it.



Resolution



Perform the following local-change: Uncheck the Show User Location option.

Published January 19, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us