• Resolved Dongsan

    (@dongsan)


    Hi Robert,

    Again, thank you for this great plugin.

    I plan to use this plugin to build a community map, where users can see where other users are located. I have two groups of users by language, one is English-speaking group and the other is Chinese-speaking group. All users are stored as markers on layer 1, regardless of their language.

    So I want to show two different maps per language as below;
    (Although I say two different maps, they are actually one same map with different starting geocode value.)

    1: English speaking users
    – When they open up my website, they will see a map for layer 1 centered around New York, USA.

    2: Chinese speaking users
    – When they open up my website, they will see a map for layer 1 centered around Beijing, China.

    I’ve skimmed through your docs and settings panel, but couldn’t find how to achieve this.

    Can you please help?

    Thank you.

    https://www.ads-software.com/plugins/leaflet-maps-marker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Perhaps this helps:
    create a new multi-layer-map which includes markers from layer 1 and set the center to New York.
    nex create another new multi-layer-map which also includes markers from layer 1 and set the center to Beijing.
    This creates 2 new maps with 2 new shortcodes but with the same markers you can use on your site according to your needs
    best,
    Robert

    Thread Starter Dongsan

    (@dongsan)

    Perfect. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different default value for different languages’ is closed to new replies.